search for: install_tasks

Displaying 1 result from an estimated 1 matches for "install_tasks".

Did you mean: install_mask
2011 Jul 20
0
Testing Gems
...39;'m thinking something in rspec/shoulda along the following lines: describe "MyGem" do describe "generators" do it {should generate :Rakefile} it "should have helpers in Rakefile" do generated(:Rakefile).should include "Bundle::GemHelper.install_tasks" end end end this would be for testing paths in the generated files which switch on conditions, or indeed to test and prevent regression of a particular issue. Maybe I''m being crazy obsessive about what I want to test, but this seems to be something we''d want in a co...