spec/taza/site_fixtures_spec.rb in taza-0.9.2.1 vs spec/taza/site_fixtures_spec.rb in taza-1.0

- old
+ new

@@ -3,12 +3,12 @@ Taza::Fixture.stubs(:base_path).returns(File.join('.','spec','sandbox','fixtures','')) Taza.load_fixtures include Taza::Fixtures::FooSite it "should be able to access fixtures in sub-folders" do - bars(:foo).name.should eql("foo") + expect(bars(:foo).name).to eql 'foo' end it "should not be able to access non-site-specific fixtures" do - lambda{foos(:gap)}.should raise_error(NoMethodError) + expect(lambda{foos(:gap)}).to raise_error(NoMethodError) end end