Displaying 1 result from an estimated 1 matches for "test_very_simpl".
Did you mean:
test_very_simple
2006 May 13
0
integration: assert_template() always fails...
Hi Coders :-)
Maybe somebody can help...
My integration tests always fail when using assert_template()
class ShopTest < ActionController::IntegrationTest
def test_very_simple
get("/shop/index")
assert_success
assert_template("/shop/index")
end
end
the "/shop/index" is a valid url which renders flawlessly in the browser. however, the test will produce:
1) Failure:
test_buy_an_article(ShopTest)
[test/integration/sho...