mongoid/mongoid — Issue #1495: Specs failing
Author: rurounijones
Created: 2011-12-13 08:07:12+00:00
State: open

Just pulled from master and run specs. Huge amounts of them appear to be failing. For example:

```
185) Mongoid::Persistence::Atomic::Inc#inc when incrementing a field with a value persists the changes
Failure/Error: Person.create(:ssn => "777-66-1010", :age => 100)
NoMethodError:
super called outside of method
# ./spec/../lib/mongoid/callbacks.rb:43
# ./spec/../lib/mongoid/callbacks.rb:68:in `call'
# ./spec/../lib/mongoid/callbacks.rb:68:in `run_cascading_callbacks'
# ./spec/../lib/mongoid/callbacks.rb:42:in `run_callbacks'
# ./spec/../lib/mongoid/document.rb:135:in `initialize'
# ./spec/../lib/mongoid/threaded/lifecycle.rb:84:in `_building'
# ./spec/../lib/mongoid/document.rb:126:in `initialize'
# ./spec/../lib/mongoid/persistence.rb:177:in `new'
# ./spec/../lib/mongoid/persistence.rb:177:in `create'
# ./spec/../lib/mongoid/threaded/lifecycle.rb:173:in `_creating'
# ./spec/../lib/mongoid/persistence.rb:176:in `create'
# ./spec/functional/mongoid/persistence/atomic/inc_spec.rb:12
# ./spec/functional/mongoid/persistence/atomic/inc_spec.rb:41
```

Ruby 1.9.3-p0