summaryrefslogtreecommitdiff
path: root/spec/hashie/trash_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/hashie/trash_spec.rb')
-rw-r--r--spec/hashie/trash_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/hashie/trash_spec.rb b/spec/hashie/trash_spec.rb
index 38fae0d..4c1e2a7 100644
--- a/spec/hashie/trash_spec.rb
+++ b/spec/hashie/trash_spec.rb
@@ -9,8 +9,7 @@ describe Hashie::Trash do
describe 'translating properties' do
it 'adds the property to the list' do
- TrashTest.property :not_an_att, :from => :notAnAtt
- TrashTest.properties.should include('not_an_att')
+ TrashTest.properties.should include(:first_name)
end
it 'creates a method for reading the property' do