Permalink
Browse files

move test to the right place

  • Loading branch information...
1 parent e23e183 commit fedf96aaf2bd0b58de04d60a468b7f70fee7b4ca @godfat godfat committed Jul 11, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −0 test/test_attr_hash.rb
  2. +0 −5 test/test_basic.rb
View
5 test/test_attr_hash.rb
@@ -45,4 +45,9 @@ def simple_case hh, ah
apple2.update_attributes :name => 'pineapple'
apple2.updated_at.should.not.equal 0
end
+
+ should 'before save' do
+ p = Pineapple.create(:size => 5)
+ Pineapple.find(p.id).size.should.equal 10
+ end
end
View
5 test/test_basic.rb
@@ -92,9 +92,4 @@ def require_relative path
Dog.cerealize_option.should.equal mood.merge(hook)
BigDog.cerealize_option.should.equal mood.merge(hook)
end
-
- should 'before save' do
- p = Pineapple.create(:size => 5)
- Pineapple.find(p.id).size.should.equal 10
- end
end

0 comments on commit fedf96a

Please sign in to comment.