Skip to content

Commit

Permalink
verify freezing in the dependencies works, and change where to check …
Browse files Browse the repository at this point in the history
…for the bundled gems
  • Loading branch information
auxesis committed Oct 12, 2009
1 parent b546205 commit 3d0270a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/steps/creating_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

When /^I freeze in dependencies$/ do
@project_name.should_not be_nil
silent_system("cd /tmp/#{@project_name} ; rake deps")
silent_system("cd /tmp/#{@project_name} ; gem bundle").should be_true
end

Then /^my gems directory should be populated$/ do
@project_name.should_not be_nil
Dir.glob("/tmp/#{@project_name}/gems/*").size.should > 0
Dir.glob("/tmp/#{@project_name}/vendor/gems/*").size.should > 0
end

0 comments on commit 3d0270a

Please sign in to comment.