Sha256: 24b47bdf87821108ddd536ed7c98bdec3da21f2dbcbc12f1ab70023e34a39c12

Contents?: true

Size: 288 Bytes

Versions: 18

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module FixtureHelpers
    module InstanceMethods

      def fixture(f)
        File.read(File.expand_path("../../fixtures/#{f}.json", __FILE__))
      end
    end
  end

  RSpec.configure do |config|
    config.include FixtureHelpers::InstanceMethods
  end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
frodo-0.12.8 spec/support/fixture_helpers.rb
frodo-0.12.7 spec/support/fixture_helpers.rb
frodo-0.12.6 spec/support/fixture_helpers.rb
frodo-0.12.5 spec/support/fixture_helpers.rb
frodo-0.12.4 spec/support/fixture_helpers.rb
frodo-0.12.2 spec/support/fixture_helpers.rb
frodo-0.12.1 spec/support/fixture_helpers.rb
frodo-0.12.0 spec/support/fixture_helpers.rb
frodo-0.11.0 spec/support/fixture_helpers.rb
frodo-0.10.8 spec/support/fixture_helpers.rb
frodo-0.10.7 spec/support/fixture_helpers.rb
frodo-0.10.6 spec/support/fixture_helpers.rb
frodo-0.10.5 spec/support/fixture_helpers.rb
frodo-0.10.4 spec/support/fixture_helpers.rb
frodo-0.10.3 spec/support/fixture_helpers.rb
frodo-0.10.2 spec/support/fixture_helpers.rb
frodo-0.10.1 spec/support/fixture_helpers.rb
frodo-0.10.0 spec/support/fixture_helpers.rb