Module: FixtureBackground::ActiveSupport::TestCase::ClassMethods

Defined in:
lib/fixture_background/active_support/test_case.rb

Instance Method Summary collapse

Instance Method Details

#background(&blk) ⇒ Object



20
21
22
# File 'lib/fixture_background/active_support/test_case.rb', line 20

def background(&blk)
  @fixture_background = FixtureBackground::Background.new(name, self, nil, blk)
end

#fixture_backgroundObject



16
17
18
# File 'lib/fixture_background/active_support/test_case.rb', line 16

def fixture_background
  @fixture_background
end

#parent_fixture_backgroundObject



12
13
14
# File 'lib/fixture_background/active_support/test_case.rb', line 12

def parent_fixture_background
  nil
end