instiki/vendor/plugins/bundler/gems/bundler-1.0.7/spec/pack/gems_spec.rb

22 lines
425 B
Ruby
Raw Normal View History

2010-12-07 04:11:19 +01:00
require "spec_helper"
describe "bundle pack with gems" do
describe "when there are only gemsources" do
before :each do
gemfile <<-G
gem 'rack'
G
system_gems "rack-1.0.0"
bundle :pack
end
it "locks the gemfile" do
bundled_app("Gemfile.lock").should exist
end
it "caches the gems" do
bundled_app("vendor/cache/rack-1.0.0.gem").should exist
end
end
end