Sha256: c2f51696110b8d439f0467c28557e4a1b242e48f6dbf28fef33900dd93344092

Contents?: true

Size: 263 Bytes

Versions: 9

Compression:

Stored size: 263 Bytes

Contents

# Fixture helper for tests
module FixtureHelper
  FIXTURE_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "../fixtures"))

  def fixture(path)
    File.read(fixture_path(path))
  end

  def fixture_path(path)
    File.join(FIXTURE_ROOT, path)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
roger_sassc-1.2.0 test/helpers/fixture_helper.rb
roger_sassc-1.1.0 test/helpers/fixture_helper.rb
roger_sassc-1.0.0 test/helpers/fixture_helper.rb
roger_sassc-0.4.0 test/helpers/fixture_helper.rb
roger_sassc-0.2.1 test/helpers/fixture_helper.rb
roger_sassc-0.2.0 test/helpers/fixture_helper.rb
roger_sassc-0.1.2 test/helpers/fixture_helper.rb
roger_sassc-0.1.1 test/helpers/fixture_helper.rb
roger_sassc-0.1.0 test/helpers/fixture_helper.rb