Class: Test::Spec::Rails::SpecResponder

Inherits:
Object
  • Object
show all
Defined in:
lib/test/spec/rails/spec_responder.rb

Direct Known Subclasses

Layout, Status, Template

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(test_case) ⇒ SpecResponder

Returns a new instance of SpecResponder.



3
4
5
# File 'lib/test/spec/rails/spec_responder.rb', line 3

def initialize(test_case)
  self.test_case = test_case
end

Instance Attribute Details

#test_caseObject

Returns the value of attribute test_case.



2
3
4
# File 'lib/test/spec/rails/spec_responder.rb', line 2

def test_case
  @test_case
end