Permalink
Commits on Jan 21, 2012
  1. Fixing the config spec for travis

    durran committed Jan 21, 2012
Commits on Jan 20, 2012
  1. More travis debug

    durran committed Jan 20, 2012
  2. Typo in rescue

    durran committed Jan 20, 2012
  3. Remove all now redundant before blocks:

    durran committed Jan 20, 2012
    - Added a Mongoid.purge! to the global before each so we dont ever need
      to explicitly clean up collections in the individual specs.
    - Part 4 of #1286.
Commits on Jan 19, 2012
  1. Merge pull request #1614 from i0rek/no_warnings

    durran committed Jan 19, 2012
    Remove warning: shadowing outer local variable
  2. Merge pull request #1613 from i0rek/no_warnings

    durran committed Jan 19, 2012
    First batch of warnings removed.
  3. Fix broken version spec

    durran committed Jan 19, 2012
  4. Merge pull request #1612 from i0rek/no_should

    durran committed Jan 19, 2012
    No should inside specs.
  5. Hard delete paranoid versioned documents:

    durran committed Jan 19, 2012
    - When setting max_versions, paranoid documents that are in the embedded
      versions relation need to be hard deleted.
    - Fixes #1610.
  6. Hunt down the last shoulds!

    i0rek committed Jan 19, 2012
  7. Fix stills.

    i0rek committed Jan 19, 2012
  8. Fix haves.

    i0rek committed Jan 19, 2012
  9. Fix nots.

    i0rek committed Jan 19, 2012
  10. Fix gos.

    i0rek committed Jan 19, 2012
  11. Fix bes.

    i0rek committed Jan 19, 2012
  12. No more shoulds!

    i0rek committed Jan 19, 2012
    Shell command used:
    find spec -type f -exec sed -i '' -E 's/it\ "should ([a-z]+)/it\ "\1s/g' {} \;'
  13. Refactor all specs to use proper matchers:

    durran committed Jan 19, 2012
    - should == value becomes should eq(value)
    - should == true becomes should be_true
    - should == false becomes should be_false
    - should == nil becomes should be_nil
    - should == [] becomes should be_empty
    - Part 3 of #1286.
  14. Raise DocumentNotFound instead of NoMethodErros:

    durran committed Jan 19, 2012
    - When passing ids to nested attributes and no docs exist, grabbing the
      first class could throw a NoMethodError getting the object id state.
    - Fixes #1608.
Commits on Jan 18, 2012
  1. Merge pull request #1607 from i0rek/update_count_documentation

    durran committed Jan 18, 2012
    Update documentation for count.
  2. Update documentation for count.

    i0rek committed Jan 18, 2012
    Remove documented but outdated condition parameter.
  3. Mongo cannot store microseconds, so we should not with our times... U…

    durran committed Jan 18, 2012
    …se custom serialization for micros
Commits on Jan 17, 2012
  1. Spec structure refactoring:

    durran committed Jan 17, 2012
    - Removed all instance variable assignments in specs and replaced with
      proper let or let! blocks.
    - Part 2 of #1286.