Sha256: aeded148383f48c242d13d3f31cbc6d234476b93b7c6c488e9ecd7687e2f7474

Contents?: true

Size: 224 Bytes

Versions: 66

Compression:

Stored size: 224 Bytes

Contents

module ActionController #:nodoc:
  class TestResponse #:nodoc:
    attr_writer :controller_path

    def capture(name)
      template.instance_variable_get "@content_for_#{name.to_s}"
    end
    alias [] capture

  end
end

Version data entries

66 entries across 66 versions & 11 rubygems

Version Path
dchelimsky-rspec-rails-1.1.10 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.11.1 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.11.2 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.11.3 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.11.4 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.11 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.6 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.7 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.8 lib/spec/rails/extensions/action_controller/test_response.rb
dchelimsky-rspec-rails-1.1.9 lib/spec/rails/extensions/action_controller/test_response.rb
jcnetdev-rspec-rails-1.1.5 lib/spec/rails/extensions/action_controller/test_response.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_response.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_response.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_response.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_response.rb
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb