Sha256: d05a5387b88da48982e34a57ae45cc610982bf4a2d7e76a6c7d3bf48ec628223
Contents?: true
Size: 620 Bytes
Versions: 14
Compression:
Stored size: 620 Bytes
Contents
require "spec_helper" describe Bundler do before(:each) do bundles = Environment.new(root.join "config.yml").bundles @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!"] 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!"] end after(:each) do clear end def clear FileUtils.rm_rf File.expand_path("~/.linner") end end
Version data entries
14 entries across 14 versions & 1 rubygems