Permalink
Browse files

fixed broken install_rspec_stories test

  • Loading branch information...
1 parent 59a0eed commit 397e5dc3d33641e3a047cdceac0fa1ed36b27338 @drnic committed Apr 5, 2008
Showing with 5 additions and 5 deletions.
  1. +2 −1 History.txt
  2. +3 −4 test/test_install_rspec_stories_generator.rb
View
@@ -1,7 +1,8 @@
-== 0.22.1 2008-04-05
+== 0.22.1 2008-04-05 [NOT RELEASED]
* moved the 'by Daniel Cadenas' reference to the correct template.rhtml
* renamed template.rhtml -> template.html.erb in gem + generators
+* fixed broken install_rspec_stories test
== 0.22.0 2008-04-03
@@ -26,11 +26,10 @@ def teardown
# bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
def test_generator_without_options
- name = "myapp"
- run_generator('install_rspec_stories', [name], sources)
+ run_generator('install_rspec_stories', [], sources)
assert_directory_exists("stories/steps")
- assert_generated_file("stories/steps/myapp_steps.rb")
- assert_generated_file("stories/sell_myapp.story")
+ assert_generated_file("stories/steps/myproject_steps.rb")
+ assert_generated_file("stories/sell_myproject.story")
assert_generated_file("stories/all.rb")
end

0 comments on commit 397e5dc

Please sign in to comment.