Module: Warp::ControllerMatchers
- Defined in:
- lib/warp/controller_matchers/assign_matcher.rb,
lib/warp/controller_matchers/set_flash_matcher.rb
Defined Under Namespace
Classes: AssignMatcher, AssignMatcherBuilder, AssignWithAMatcher, AssignWithANewMatcher, AssignWithMatcher, SetFlashMatcher
Instance Method Summary
collapse
Instance Method Details
#assign(assign_key) ⇒ Object
36
37
38
|
# File 'lib/warp/controller_matchers/assign_matcher.rb', line 36
def assign(assign_key)
AssignMatcherBuilder.new(controller, assign_key)
end
|
#set_flash(flash_key) ⇒ Object
53
54
55
|
# File 'lib/warp/controller_matchers/set_flash_matcher.rb', line 53
def set_flash(flash_key)
SetFlashMatcher.new(flash_key, controller)
end
|