Sha256: 9ca41b180f446c954147c5d2fe0191c893bccea9a45833588e1b4087924a789a

Contents?: true

Size: 327 Bytes

Versions: 35

Compression:

Stored size: 327 Bytes

Contents

require 'test_helper'

class ControllerToResponderTest < ActionDispatch::IntegrationTest

  test 'it can pass a variable from the controller to the responder through the listener' do
    get root_path(car: "Mustang")
    assert_includes response.body, "Mustang", "Should include the passed in value in the response."
  end

end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
husky-0.3.8 test/integration/controller_to_responder_test.rb
husky-0.3.7 test/integration/controller_to_responder_test.rb
husky-0.3.6 test/integration/controller_to_responder_test.rb
husky-0.3.5 test/integration/controller_to_responder_test.rb
husky-0.3.4 test/integration/controller_to_responder_test.rb
husky-0.3.3 test/integration/controller_to_responder_test.rb
husky-0.3.2 test/integration/controller_to_responder_test.rb
husky-0.3.1 test/integration/controller_to_responder_test.rb
husky-0.3.0 test/integration/controller_to_responder_test.rb
husky-0.2.9 test/integration/controller_to_responder_test.rb
husky-0.2.8 test/integration/controller_to_responder_test.rb
husky-0.2.7 test/integration/controller_to_responder_test.rb
husky-0.2.6 test/integration/controller_to_responder_test.rb
husky-0.2.5 test/integration/controller_to_responder_test.rb
husky-0.2.4 test/integration/controller_to_responder_test.rb
husky-0.2.3 test/integration/controller_to_responder_test.rb
husky-0.2.2 test/integration/controller_to_responder_test.rb
husky-0.2.1 test/integration/controller_to_responder_test.rb
husky-0.2.0 test/integration/controller_to_responder_test.rb
husky-0.1.9 test/integration/controller_to_responder_test.rb