Skip to content

Commit

Permalink
Update questions_feature_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorkshireman committed Oct 1, 2015
1 parent 844cac2 commit f006783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/questions_feature_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
it 'disallows non owners to make event questions' do
click_on "Sign out"
sign_in_as(user_two)
visit event_path(event)
visit new_event_question_path(event)
expect(current_path).to eq root_path
expect(page).to have_content('Sorry, but we were unable to serve your request.')
end
Expand Down

0 comments on commit f006783

Please sign in to comment.