Untitled
Anonymous
plain_text
05/23/2023 5:24 PM
448 B
13
Indexable
describe 'GET /api/v2/product/{code}' do
let(:product) { create(:product) }
context 'when valid' do
it 'inform user\'s e-mail' do
get "/api/v2/product/#{product.code}/comments?api_key=#{api_key}"
expect(response.body.include?('user_email')).to be_truthy
end
end
endEditor is loading...