Skip to content

Commit

Permalink
Correcting syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Waite committed Dec 11, 2011
1 parent 7897b18 commit e66b829
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion features/step_definitions/submission_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def create_submissions_and_series(hashes)
series = Factory(:series)
series_page.visit series
click_link 'New Submission'
new_submission_page.create_submission('')
new_submission_page.create('')
end


Expand Down
4 changes: 2 additions & 2 deletions features/step_definitions/vote_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@

Then /^I should not see a Vote button next to "([^"]*)"$/ do |submission_name|
submission = Submission.find_by_name(submission_name)
series_page.should_not have_vote_button?(submission)
series_page.should_not have_vote_button(submission)
end

Then /^I should not see a vote review for that submission$/ do
submission = last_submission
series_page.visit submission.series
series_page.should_not have_vote_review?(submission)
series_page.should_not have_vote_review(submission)
end

Given /^(?:a|another) user has voted for that submission$/ do
Expand Down

0 comments on commit e66b829

Please sign in to comment.