Skip to content

Commit

Permalink
Pull request updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nhance committed Jan 26, 2012
1 parent ff25edd commit 14b9f4e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
12 changes: 0 additions & 12 deletions spec/recurly/account_spec.rb
Expand Up @@ -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'
Expand Down
11 changes: 0 additions & 11 deletions spec/recurly/resource_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 14b9f4e

Please sign in to comment.