From 14b9f4e5c7e807a8c8ccb6b7c33662f3d9e03412 Mon Sep 17 00:00:00 2001 From: Nicholas Hance Date: Thu, 26 Jan 2012 14:02:15 -0500 Subject: [PATCH] Pull request updates --- spec/recurly/account_spec.rb | 12 ------------ spec/recurly/resource_spec.rb | 11 ----------- 2 files changed, 23 deletions(-) diff --git a/spec/recurly/account_spec.rb b/spec/recurly/account_spec.rb index 15638707a..38080b9df 100644 --- a/spec/recurly/account_spec.rb +++ b/spec/recurly/account_spec.rb @@ -25,18 +25,6 @@ end end - describe "#attributes=" do - let(:account) { Account.new } - let(:attributes_hash) { { "first_name" => "test", "last_name" => "test name" } } - - it "must set the attributes based on the provided hash" do - account.attributes.must_be_empty - - account.attributes = attributes_hash - account.attributes.must_equal attributes_hash - end - end - describe ".find" do it "must return an account when available" do stub_api_request :get, 'accounts/abcdef1234567890', 'accounts/show-200' diff --git a/spec/recurly/resource_spec.rb b/spec/recurly/resource_spec.rb index 6296f340f..ec0a9cb25 100644 --- a/spec/recurly/resource_spec.rb +++ b/spec/recurly/resource_spec.rb @@ -398,17 +398,6 @@ def record.to_param() 1 end end end - describe "#attributes=" do - let(:attributes_hash) { { "uuid" => "test", "name" => "test name" } } - - it "must set the attributes based on the provided hash" do - record.attributes.must_be_empty - - record.attributes = attributes_hash - record.attributes.must_equal attributes_hash - end - end - describe "#uri" do it "must return nil for a resource where persisted is false" do record.uri.must_be_nil