Skip to content

Commit

Permalink
fixed broken install_rspec_stories test
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Apr 5, 2008
1 parent 59a0eed commit 397e5dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion History.txt
@@ -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 * moved the 'by Daniel Cadenas' reference to the correct template.rhtml
* renamed template.rhtml -> template.html.erb in gem + generators * renamed template.rhtml -> template.html.erb in gem + generators
* fixed broken install_rspec_stories test


== 0.22.0 2008-04-03 == 0.22.0 2008-04-03


Expand Down
7 changes: 3 additions & 4 deletions test/test_install_rspec_stories_generator.rb
Expand Up @@ -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 # bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test


def test_generator_without_options def test_generator_without_options
name = "myapp" run_generator('install_rspec_stories', [], sources)
run_generator('install_rspec_stories', [name], sources)
assert_directory_exists("stories/steps") assert_directory_exists("stories/steps")
assert_generated_file("stories/steps/myapp_steps.rb") assert_generated_file("stories/steps/myproject_steps.rb")
assert_generated_file("stories/sell_myapp.story") assert_generated_file("stories/sell_myproject.story")
assert_generated_file("stories/all.rb") assert_generated_file("stories/all.rb")
end end


Expand Down

0 comments on commit 397e5dc

Please sign in to comment.