Sha256: fe36de9063af8c30f9f62d4f6ddea0c5b8c8a1e2bdee1ef8acb145bc719cc13d
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 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 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") expect(@bundler.check).to eq [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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
linner-0.8.3 | spec/linner/bundler_spec.rb |
linner-0.8.2 | spec/linner/bundler_spec.rb |
linner-0.8.1 | spec/linner/bundler_spec.rb |
linner-0.8.0 | spec/linner/bundler_spec.rb |