Module: RSpecFileFixtures

Defined in:
lib/rspec_file_fixtures.rb,
lib/rspec_file_fixtures/fixture.rb,
lib/rspec_file_fixtures/version.rb

Overview

Provides a ‘fixture` method in all RSpec tests.

Defined Under Namespace

Classes: Error, Fixture

Constant Summary collapse

VERSION =
'0.1.9'

Instance Method Summary collapse

Instance Method Details

#fixture(path) ⇒ Object



15
16
17
# File 'lib/rspec_file_fixtures.rb', line 15

def fixture(path)
  Fixture.new(path)
end