spec/linner/bundler_spec.rb in linner-0.7.3 vs spec/linner/bundler_spec.rb in linner-0.8.0
- old
+ new
@@ -6,15 +6,15 @@
@bundler = Linner::Bundler.new(bundles)
end
it "should check failure when REPOSITORY is not exist" do
clear
- @bundler.check.should == [false, "Bundles didn't exsit!"]
+ expect(@bundler.check).to eq [false, "Bundles didn't exsit!"]
end
it "should check failure when jquery is not exist" do
FileUtils.mkdir_p File.expand_path("~/.linner/bundles")
- @bundler.check.should == [false, "Bundle jquery v1.10.2 didn't match!"]
+ expect(@bundler.check).to eq [false, "Bundle jquery v1.10.2 didn't match!"]
end
after(:each) do
clear
end