Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
We're setting flash[:error] so best check that instead of flash[:notice]
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jun 28, 2012
1 parent b2322e3 commit daed208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/moderation_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@request.env['HTTP_REFERER'] = Capybara.default_host
controller.stub :forem_admin? => true
put :topic
flash[:notice].should == I18n.t("forem.topic.moderation.no_option_selected")
flash[:error].should == I18n.t("forem.topic.moderation.no_option_selected")
end

end

0 comments on commit daed208

Please sign in to comment.