Skip to content

Commit

Permalink
added a failing spec for issue #144
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed Apr 23, 2013
1 parent d347aa3 commit a1f33db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/warbler/bundler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,15 @@ def hide_shallow_git_clone
contents.split("\n").grep(/ENV\['BUNDLE_FROZEN'\] = '1'/).should_not be_empty
end
end

context "when deployment" do
run_in_directory "spec/sample_bundler"

it "includes the bundler gem" do
`#{RUBY_EXE} -S bundle install --deployment`
jar.apply(config)
file_list(%r{gems/rake-0.8.7/lib}).should_not be_empty
file_list(%r{gems/bundler-1.3.5/lib}).should_not be_empty
end
end
end

0 comments on commit a1f33db

Please sign in to comment.