Navigation Menu

Skip to content

Commit

Permalink
change test to specifically test intended behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsulc committed Feb 27, 2011
1 parent cbca451 commit cc6f98b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/sugar_beans_controller_test.rb
Expand Up @@ -20,9 +20,9 @@ class SugarBeansControllerTest < ActionController::TestCase
assert_response :success
end

test "should display available modules" do
test "should render available modules on invalid module param" do
get(:list, {:module => "kittens"})
assert_response :success
assert_template 'available_modules'
end

end

0 comments on commit cc6f98b

Please sign in to comment.