From b3ce674ffcfda3d4e1c86d4ff1e23badf2d1641c Mon Sep 17 00:00:00 2001 From: Angel Perez Date: Fri, 9 Mar 2018 11:17:11 -0400 Subject: [PATCH] Enable previously disabled test scenarios --- spec/features/comments/debates_spec.rb | 2 +- spec/features/comments/legislation_annotations_spec.rb | 2 +- spec/features/comments/legislation_questions_spec.rb | 2 +- spec/lib/graphql_spec.rb | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/features/comments/debates_spec.rb b/spec/features/comments/debates_spec.rb index 7a014f60c..66b35e671 100644 --- a/spec/features/comments/debates_spec.rb +++ b/spec/features/comments/debates_spec.rb @@ -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 diff --git a/spec/features/comments/legislation_annotations_spec.rb b/spec/features/comments/legislation_annotations_spec.rb index 27ff22192..ff4e4790d 100644 --- a/spec/features/comments/legislation_annotations_spec.rb +++ b/spec/features/comments/legislation_annotations_spec.rb @@ -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) diff --git a/spec/features/comments/legislation_questions_spec.rb b/spec/features/comments/legislation_questions_spec.rb index 42475fa57..bc75ecbb7 100644 --- a/spec/features/comments/legislation_questions_spec.rb +++ b/spec/features/comments/legislation_questions_spec.rb @@ -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 diff --git a/spec/lib/graphql_spec.rb b/spec/lib/graphql_spec.rb index 3c48957de..3617d79a8 100644 --- a/spec/lib/graphql_spec.rb +++ b/spec/lib/graphql_spec.rb @@ -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')