spec/api/account_spec.rb in yotpo-0.0.10 vs spec/api/account_spec.rb in yotpo-0.1.0
- old
+ new
@@ -15,12 +15,11 @@
VCR.use_cassette('update_account') do
@response = Yotpo.update_account(account_data)
end
end
subject { @response.body.app }
- it { should be_a ::Hashie::Rash }
- it { should respond_to :id }
+ it { should be_a ::Hashie::Mash }
it { should respond_to :app_key }
end
describe '#check_minisite_subdomain' do
before(:all) do
@@ -32,12 +31,12 @@
VCR.use_cassette('check_minisite_subdomain') do
@response = Yotpo.check_minisite_subdomain(sub_domain_data)
end
end
subject { @response.body.subdomain }
- it { should be_a ::Hashie::Rash }
+ it { should be_a ::Hashie::Mash }
it { should respond_to :available }
it { should respond_to :subdomain }
end
-end
\ No newline at end of file
+end