diff options
author | Stefan Huber <MSNexploder@gmail.com> | 2014-04-22 22:26:12 +0200 |
---|---|---|
committer | Stefan Huber <MSNexploder@gmail.com> | 2014-04-22 22:26:12 +0200 |
commit | 2c356be90a23921058cd14fd0e4a366da195021a (patch) | |
tree | db4d50937248dc0637eb28f33151f5a5dded05dc /spec/lock/lockfile_spec.rb | |
parent | 068d2aef98034f748377e6e1f1bba1c5141aae39 (diff) | |
download | bundler-2c356be90a23921058cd14fd0e4a366da195021a.tar.gz |
svn source support
Diffstat (limited to 'spec/lock/lockfile_spec.rb')
-rw-r--r-- | spec/lock/lockfile_spec.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb index 779fd1c613..7020368d29 100644 --- a/spec/lock/lockfile_spec.rb +++ b/spec/lock/lockfile_spec.rb @@ -182,6 +182,33 @@ describe "the lockfile format" do G end + it "serializes global svn sources" do + svn = build_svn "foo" + + install_gemfile <<-G + svn "file://#{lib_path('foo-1.0')}" do + gem "foo" + end + G + + lockfile_should_be <<-G + SVN + remote: file://#{lib_path('foo-1.0')} + revision: 1 + specs: + foo (1.0) + + GEM + specs: + + PLATFORMS + #{generic(Gem::Platform.local)} + + DEPENDENCIES + foo! + G + end + it "generates a lockfile with a ref for a single pinned source, git gem with a branch requirement" do git = build_git "foo" update_git "foo", :branch => "omg" |