Sha256: 44d5f44afdf969bacff747ef0ae410eabb4aad7ff8c5abdb0c71c83c56fa64ca
Contents?: true
Size: 427 Bytes
Versions: 6
Compression:
Stored size: 427 Bytes
Contents
module ActionController class TestCase alias :setup_controller_request_and_response_without_vanity :setup_controller_request_and_response # Sets Vanity.context to the current controller, so you can do things like: # experiment(:simple).chooses(:green) def setup_controller_request_and_response setup_controller_request_and_response_without_vanity Vanity.context = @controller end end end
Version data entries
6 entries across 6 versions & 2 rubygems