Skip to content

Commit

Permalink
AO3-4940 Fix incorrect test in tag_set_nominations_controller_spec.rb (
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrlc authored and sarken committed Mar 29, 2017
1 parent 25f9fe8 commit a61a095
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/controllers/tag_set_nominations_controller_spec.rb
Expand Up @@ -1365,7 +1365,7 @@ def add_freeform_nominations(num)
'character_change_New Character 2': '',
'relationship_change_New Relationship': '',
'fandom_change_New Fandom': '',
'freeform_change_New Fandom': '' } }
'freeform_change_New Freeform': '' } }

before do
fake_login_known_user(moderator.reload)
Expand All @@ -1386,9 +1386,9 @@ def add_freeform_nominations(num)
'character_reject_New Character 2': 1,
'relationship_approve_New Relationship': 1,
'fandom_approve_New Fandom': 1,
'freeform_reject_New Fandom': 1)
it_redirects_to(tag_set_nominations_path(owned_tag_set))
expect(flash[:notice]).to include('Still some nominations left to review!')
'freeform_reject_New Freeform': 1)
it_redirects_to(tag_set_path(owned_tag_set))
expect(flash[:notice]).to include('All nominations reviewed, yay!')
end
end

Expand Down

0 comments on commit a61a095

Please sign in to comment.