Sha256: 9ef0d3c811ac30fe446b30e2c3d64c85743c46eea543d576cb929dfdf901ff8d

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

module ActionController #:nodoc:
  class TestCase
    alias :setup_controller_request_and_response_without_vanity :setup_controller_request_and_response
    def setup_controller_request_and_response
      setup_controller_request_and_response_without_vanity 
      Vanity.context = @controller
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vanity-0.3.1 lib/vanity/rails/testing.rb
vanity-0.3.0 lib/vanity/rails/testing.rb