You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe"GET anchor"docontext'timestamp is not a number'doit'shows error'doget:anchor,{auth_token: 'qwerty',timestamp: 'string'}expect(response).toeq({success: false,anchor: nil,error: 'Timestamp should be a number'})endendend
when I edit expect(response).to eq({success: false, anchor: nil, error: 'Timestamp should be a number'})
to expect(response.body).to eq({success: false, anchor: nil, error: 'Timestamp should be a number'}.to_json)
it works.
but rspec should show the fail, but not begin to eat memory
The text was updated successfully, but these errors were encountered:
when I edit
expect(response).to eq({success: false, anchor: nil, error: 'Timestamp should be a number'})
to
expect(response.body).to eq({success: false, anchor: nil, error: 'Timestamp should be a number'}.to_json)
it works.
but rspec should show the fail, but not begin to eat memory
The text was updated successfully, but these errors were encountered: