test/rails/test/functional/articles_controller_test.rb in gettext-1.91.0 vs test/rails/test/functional/articles_controller_test.rb in gettext-1.92.0
- old
+ new
@@ -72,9 +72,14 @@
get :new, :lang => "en"
assert_html("en/new.html")
assert_response :success
assert_not_nil assigns(:article)
+
+ get :new, :lang => "fr"
+ assert_html("fr/new.html")
+ assert_response :success
+ assert_not_nil assigns(:article)
end
def test_create_error
post :create, :article => {:title => "", :description => "", :lastupdate => Date.new(2007, 4, 1)}, :lang => "ja"
assert_html("ja/create_error.html")