Sha256: d849563eac9d430ece57453e610534f7fa828d6453f7c15ecdac2d0a804f9f32

Contents?: true

Size: 154 Bytes

Versions: 23

Compression:

Stored size: 154 Bytes

Contents

module Fixture
  def self.load(name)
    file = File.join(File.expand_path("../../fixtures/#{name}", __FILE__))
    JSON.parse(File.read(file))
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
shelr-0.16.3 spec/support/fixture.rb
shelr-0.16.2 spec/support/fixture.rb
shelr-0.16.1 spec/support/fixture.rb
shelr-0.16.0 spec/support/fixture.rb
shelr-0.15.2 spec/support/fixture.rb
shelr-0.15.1 spec/support/fixture.rb
shelr-0.15.0 spec/support/fixture.rb
shelr-0.14.1 spec/support/fixture.rb
shelr-0.14.0 spec/support/fixture.rb
shelr-0.13.3 spec/support/fixture.rb
shelr-0.13.2 spec/support/fixture.rb
shelr-0.13.1 spec/support/fixture.rb
shelr-0.13.0 spec/support/fixture.rb
shelr-0.12.9 spec/support/fixture.rb
shelr-0.12.8 spec/support/fixture.rb
shelr-0.12.7 spec/support/fixture.rb
shelr-0.12.6 spec/support/fixture.rb
shelr-0.12.5 spec/support/fixture.rb
shelr-0.12.4 spec/support/fixture.rb
shelr-0.12.3 spec/support/fixture.rb