Sha256: 6f89a1a0c8279e70a9736ea4da8e7ab71c2def821908e09a5470f352c05018ed

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

require 'spec/spec_helper'
require 'taza/fixture'

describe "Site Specific Fixtures" do
  include Taza::Fixtures::FooSite
 
  it "should be able to access fixtures in sub-folders" do
    bars(:foo).name.should eql("foo")
  end

  it "should not be able to access non-site-specific fixtures" do
    lambda{foos(:gap)}.should raise_error(NoMethodError)
  end

end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
scudco-taza-0.8.4 spec/site_fixtures_spec.rb
taza-0.8.4 spec/site_fixtures_spec.rb