Enable previously disabled test scenarios

This commit is contained in:
Angel Perez
2018-03-09 11:17:11 -04:00
parent 2d819c0b11
commit b3ce674ffc
4 changed files with 6 additions and 6 deletions

View File

@@ -490,7 +490,7 @@ feature 'Commenting debates' do
end
end
xscenario 'Trying to vote multiple times', :js do
scenario 'Trying to vote multiple times', :js do
visit debate_path(@debate)
within("#comment_#{@comment.id}_votes") do

View File

@@ -567,7 +567,7 @@ feature 'Commenting legislation questions' do
end
end
xscenario 'Trying to vote multiple times', :js do
scenario 'Trying to vote multiple times', :js do
visit legislation_process_draft_version_annotation_path(@legislation_annotation.draft_version.process,
@legislation_annotation.draft_version,
@legislation_annotation)

View File

@@ -513,7 +513,7 @@ feature 'Commenting legislation questions' do
end
end
xscenario 'Trying to vote multiple times', :js do
scenario 'Trying to vote multiple times', :js do
visit legislation_process_question_path(@legislation_question.process, @legislation_question)
within("#comment_#{@comment.id}_votes") do

View File

@@ -91,7 +91,7 @@ describe 'Consul Schema' do
expect(hidden_field?(response, 'encrypted_password')).to be_truthy
end
xit 'hides confidential has_one associations' do
it 'hides confidential has_one associations' do
user.administrator = create(:administrator)
response = execute("{ user(id: #{user.id}) { administrator { id } } }")
expect(hidden_field?(response, 'administrator')).to be_truthy
@@ -511,7 +511,7 @@ describe 'Consul Schema' do
expect(received_tags).to match_array ['Parks', 'Health']
end
xit 'uppercase and lowercase tags work ok together for proposals' do
it 'uppercase and lowercase tags work ok together for proposals' do
create(:tag, name: 'Health')
create(:tag, name: 'health')
create(:proposal, tag_list: 'health')
@@ -523,7 +523,7 @@ describe 'Consul Schema' do
expect(received_tags).to match_array ['Health', 'health']
end
xit 'uppercase and lowercase tags work ok together for debates' do
it 'uppercase and lowercase tags work ok together for debates' do
create(:tag, name: 'Health')
create(:tag, name: 'health')
create(:debate, tag_list: 'Health')