Permalink
Commits on Sep 15, 2008
  1. merge in changes

    mjankowski committed Sep 15, 2008
  2. Added `should_fail` scenario for testing `should_protect_attributes`

    rmm5t committed Sep 15, 2008
      * Tests the failure case where the model uses attr_accessible instead of attr_protected
  3. Use >= 2.1.0 so that gem installs of newer versions of rails can stil…

    mjankowski committed with rmm5t Sep 12, 2008
    …l run the shoulda tests
  4. Updated should_protect_attributes to fix issue when attr_protected is…

    boone committed with rmm5t Sep 3, 2008
    … used and attribute is missing.
  5. Updated gemspec to fix gem build

    rmm5t committed Sep 15, 2008
Commits on Sep 14, 2008
  1. fixing init.rb conflict

    croaky committed Sep 14, 2008
  2. Added gem related rake tasks [#55]

    rmm5t committed Sep 14, 2008
     * Rolling a manual gemspec for now
     * Upped VERSION to 1.99.0 pending a published gem
  3. Moved tasks/* to shoulda/tasks/*

    technicalpickles committed with rmm5t Sep 12, 2008
     * Will better support shoulda when used as a gem
     * Added shoulda/tasks.rb to automate loading the tasks
     * Added tasks/shoulda.rake for backwards compatibility
     * Modified Rakefile to support new task location
  4. Moved logic of init.rb into shoulda/rails

    rmm5t committed Sep 14, 2008
     * will allow for later gem usage in rails
  5. Tweaked init.rb to only load activerecord/actionmailer/controller stu…

    technicalpickles committed with rmm5t Sep 12, 2008
    …ff if the appropriate classes are defined.
Commits on Sep 13, 2008
  1. rails gives us a #content_type to get just the content type and not t…

    mjankowski committed Sep 13, 2008
    …he charset, use that instead so we can assert_equal instead of assert_match
Commits on Sep 12, 2008
  1. add a should_return_from_session macro which asserts that the value r…

    mjankowski committed Sep 12, 2008
    …eturned from the session for some key is what was expected
  2. add a should_respond_with_content_type macro for controller tests to …

    mjankowski committed Sep 12, 2008
    …check content type of response
  3. use > 2.1.0 so that gem installs of newer versions of rails can still…

    mjankowski committed Sep 12, 2008
    … run the shoulda tests
  4. Added macros.

    technicalpickles committed Sep 12, 2008
Commits on Sep 4, 2008
  1. Added the before_should method, which is a nicer syntax for a :before…

    jferris committed Sep 4, 2008
    … lambda when no assertions are necessary