summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/lock/gems_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/lock/gems_spec.rb b/spec/lock/gems_spec.rb
index 212e8f4f66..7ab1adb533 100644
--- a/spec/lock/gems_spec.rb
+++ b/spec/lock/gems_spec.rb
@@ -48,4 +48,14 @@ describe "bundle lock with gems" do
should_be_available "rack 1.0.0"
end
end
+
+ it "correctly serializes GemCache sources" do
+ pending "GemCache needs a #to_lock method"
+ gemfile <<-G
+ source Bundler::Source::GemCache.new("path" => "#{tmp}")
+ G
+
+ bundle :lock
+ err.should be_empty
+ end
end