class Shoulda::Matchers::ActionController::SetFlashMatcher::QualifierOrderError
@private
Public Instance Methods
Source
# File lib/shoulda/matchers/action_controller/set_flash_matcher.rb, line 208 def message <<-MESSAGE.strip Using `set_flash` with the `now` qualifier and specifying `now` after other qualifiers is no longer allowed. You'll want to use `now` immediately after `set_flash`. For instance: # Valid should set_flash.now[:foo] should set_flash.now[:foo].to('bar') # Invalid should set_flash[:foo].now should set_flash[:foo].to('bar').now MESSAGE end