spec/api/account_spec.rb in yotpo-0.0.2 vs spec/api/account_spec.rb in yotpo-0.0.3
- old
+ new
@@ -28,10 +28,9 @@
app_key: 'nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG',
subdomain: 'shalom1',
utoken: '12ei1rr1i3ufn23itfoijver903'
}
stub_get('/apps/nNgGNA54ETOqaXQ7hRZymxqdtwwetJKDVs0v8qGG/subomain_check/shalom1?utoken=12ei1rr1i3ufn23itfoijver903').
- with(:headers => {'User-Agent'=>'Faraday v0.8.7', 'Yotpo-Api-Connector'=>'0.0.1'}).
to_return(:status => 200, :body => fixture('check_subdomain.json'), :headers => {})
@response = Yotpo.check_minisite_subdomain(sub_domain_data)
end
subject { @response.body.subdomain }
\ No newline at end of file