Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Fixed pending spec by modifying a non-key and verifying Resource#reload
Browse files Browse the repository at this point in the history
[#898 state:resolved]
  • Loading branch information
dkubb committed Aug 14, 2009
1 parent e97bc3d commit 93a1091
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/public/shared/resource_shared_spec.rb
Expand Up @@ -445,16 +445,14 @@
before :all do
rescue_if 'TODO', @skip do
@user2 = @user.dup
@user2.name = 'dkubb'
@user2.description = 'Changed'
@user2.save
@user.reload
end
end

it 'should reload the object from the data store' do
pending "Reload forces all attributes to be retrieved again" do
@user.name.should eql('dkubb')
end
@user.description.should eql('Changed')
end

end
Expand Down

0 comments on commit 93a1091

Please sign in to comment.