instiki/vendor/plugins/bundler/gems/bundler-1.0.7/spec/pack/gems_spec.rb
2010-12-06 21:11:19 -06:00

22 lines
425 B
Ruby

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