Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

Commit

Permalink
Fix Rubinius issue with autoloading while running tests
Browse files Browse the repository at this point in the history
The issue is described in: rubinius/rubinius#2934
  • Loading branch information
kiela committed Feb 13, 2014
1 parent ecb211d commit b868a12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/guard/migrate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

context "rake_string" do
it "should contains 'db:migrate' once" do
expect(subject.rake_string.scan("db:migrate")).to have(1).items
subject.rake_string.scan("db:migrate").size.should == 1
end
end
end
Expand All @@ -72,8 +72,7 @@

context "rake_string" do
it "should contains 'db:test:clone' once" do
expect(subject.rake_string.scan("db:test:clone")).
to have(1).items
subject.rake_string.scan("db:test:clone").size.should == 1
end
end
end
Expand Down

0 comments on commit b868a12

Please sign in to comment.