Sha256: a64be444a5942fc01fc316a47b2254a12e3d399baf27ae807948eea00dc0702a

Contents?: true

Size: 230 Bytes

Versions: 8

Compression:

Stored size: 230 Bytes

Contents

require "spec_helper"

describe ElabsMatchers::Helpers::Fixtures do
  describe "#fixture_file" do
    it "opens the file from the fixtures file" do
      fixture_file("file.txt").read.should == "My file content."
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
elabs_matchers-2.0.1 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-2.0.0 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-1.0.1 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-1.0.0 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-0.0.7 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-0.0.6 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-0.0.5 spec/elabs_matchers/helpers/fixtures_spec.rb
elabs_matchers-0.0.4 spec/elabs_matchers/helpers/fixtures_spec.rb