search for: storiescontrollertest

Displaying 2 results from an estimated 2 matches for "storiescontrollertest".

Did you mean: storecontrollertest
2008 Jul 24
0
Re: Simple functional test fails
...t;%= @story.name %></a></p> > <p>A story (more polite): <%= link_to @story.name, @story.link %></ > p> > <p>Random history: <%= link_to @rand_story.name, @rand_story.link > %></p> > - And finally this is the test: > class StoriesControllerTest < ActionController::TestCase > def test_should_show_index > get :index > assert_response :success > assert_template ''index'' > assert_not_nil assigns(:story) > end > end > > When running "rake test:functionals" it shows a...
2006 Feb 06
9
tests fine, but fail under rake
Hi there, So I have an odd error at the moment that only occurs when I run tests via rake. It''s happening with two tests now. Under a simple ruby run, the tests are fine, e.g.: D:\User\Code\ruby\prometheus>ruby test\functional\story_comments_controller_test .rb Loaded suite test/functional/story_comments_controller_test Started ......... Finished in 2.37 seconds. 9 tests, 65