@@ -141,7 +141,7 class ApiTest::UsersTest < ActionController::IntegrationTest | |||
|
141 | 141 | |
|
142 | 142 | assert_response :unprocessable_entity |
|
143 | 143 | assert_equal 'application/xml', @response.content_type |
|
144 | assert_tag 'errors', :child => {:tag => 'error', :content => "Firstname can't be blank"} | |
|
144 | assert_tag 'errors', :child => {:tag => 'error', :content => "First name can't be blank"} | |
|
145 | 145 | end |
|
146 | 146 | end |
|
147 | 147 | |
@@ -226,7 +226,7 class ApiTest::UsersTest < ActionController::IntegrationTest | |||
|
226 | 226 | |
|
227 | 227 | assert_response :unprocessable_entity |
|
228 | 228 | assert_equal 'application/xml', @response.content_type |
|
229 | assert_tag 'errors', :child => {:tag => 'error', :content => "Firstname can't be blank"} | |
|
229 | assert_tag 'errors', :child => {:tag => 'error', :content => "First name can't be blank"} | |
|
230 | 230 | end |
|
231 | 231 | end |
|
232 | 232 |
General Comments 0
You need to be logged in to leave comments.
Login now