Skip to content

Commit 07d29d2

Browse files
committed
Fix failing test due to error message changing in Rails
1 parent a1e2eba commit 07d29d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/requests/api_controller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def index
4646
get '/test'
4747

4848
expect(response.parsed_body).to include(
49-
'error' => 'ActionController::ParameterMissing: param is missing or the value is empty: foo'
49+
'error' => 'ActionController::ParameterMissing: param is missing or the value is empty or invalid'
5050
)
5151
end
5252
end

0 commit comments

Comments
 (0)