Thingfish::

SpecHelpers

module
Included Modules
Thingfish::SpecHelpers::Constants

RSpec helper functions.

Constants

FIXTURE_DIR

Load fixture data from the ThingFish spec data directory

Public Instance Methods

anchor
fixture_data( filename )

Load and return the data from the fixture with the specified filename.

# File lib/thingfish/spechelpers.rb, line 157
def fixture_data( filename )
        fixture = FIXTURE_DIR + filename
        return fixture.open( 'r', encoding: 'binary' )
end