Sha256: 5712f8fb60180d78ca681e7fdc5c1cc5cad815c64e135c75f66f3a400aca0549
Contents?: true
Size: 986 Bytes
Versions: 5
Compression:
Stored size: 986 Bytes
Contents
require 'test_helper' class UsersControllerTest < ActionController::TestCase test "should get error_message" do get :error_message, :lang => "ja" assert_html("ja/error_message.html") assert_response :success get :error_message, :lang => "en" assert_html("en/error_message.html") # not match get :error_message, :lang => "kr" assert_html("en/error_message.html") # error_message_fr.html.erb get :error_message, :lang => "fr" assert_html("fr/error_message.html") end test "should get localized distance_of_time_in_words" do get :distance_of_time_in_words, :lang => "ja" assert_html("ja/distance_of_time_in_words.html") assert_response :success get :distance_of_time_in_words, :lang => "en" assert_html("en/distance_of_time_in_words.html") assert_response :success get :distance_of_time_in_words, :lang => "fr" assert_html("fr/distance_of_time_in_words.html") assert_response :success end end
Version data entries
5 entries across 5 versions & 1 rubygems