RSpec helper functions.
Load fixture data from the ThingFish spec data directory
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