Permalink
Commits on Jul 22, 2010
  1. bump to 2.0.0.beta.18

    dchelimsky committed Jul 22, 2010
Commits on Jul 20, 2010
  1. mock_model can now take a String or a Class

    dchelimsky committed Jul 20, 2010
      * A String representing a Class that does not exist
      * A String representing a Class that extends ActiveModel::Naming
      * A Class that extends ActiveModel::Naming
Commits on Jul 18, 2010
  1. Include helper methods defined in controllers in the view object in

    dchelimsky committed Jul 18, 2010
    ViewExampleGroup
    
    - based on gist from Wincent Colaiuta <win@wincent.com>
    - Closes #119.
  2. cleanup whitespace

    dchelimsky committed Jul 18, 2010
Commits on Jul 16, 2010
  1. Fix example request spec in readme

    aanand committed with dchelimsky Jul 16, 2010
    Closes #130.
Commits on Jul 15, 2010
  1. Delegate "params" to controller in view specs

    wincent committed with dchelimsky Jul 14, 2010
    Closes #126.
Commits on Jul 13, 2010
  1. Make view helpers available in view specs

    wincent committed with dchelimsky Jul 6, 2010
    This maintains the behavior established in RSpec 1.
    
    Closes #119.
Commits on Jul 11, 2010
  1. bump version to beta.17

    dchelimsky committed Jul 11, 2010
  2. Add :type => :xxx to metadata for each specialized example group.

    dchelimsky committed Jul 11, 2010
    - controller
    - helper
    - mailer
    - request
    - routing
    - view
    
    This supports attaching behaviour to a subset of example groups in a
    config block:
    
        RSpec.configure do |c|
          before(:each, :type => :controller) do
            # do something
          end
        end
    
    Note that this is not mean you can attach controller spec behaviour to a
    group like this:
    
      # DOES NOT WORK
      describe "something", :type => :controller do
    
    Closes #38.
Commits on Jul 10, 2010
  1. Now that rake tasks are exposed via the railtie, remove all the crap

    dchelimsky committed Jul 10, 2010
    from the top of the Rakefile that was there in case RSpec wasn't
    installed.
    
    Closes #122.
  2. Expose rake tasks via the railtie instead of generating a file.

    dchelimsky committed Jul 10, 2010
    This re-instates work done by carlhuda in commits:
      416bb95
      1b8bdd7
  3. remove debugging output

    dchelimsky committed Jul 10, 2010
  4. Make RSpec-generated template blank.

    dchelimsky committed Jul 10, 2010
    - ensures that different formats won't complain with compilation errors
    - sadly looses helpful error message for users who don't understand
      isolation from views, but the alternative would have added too much
      complexity
    
    Closes #121.
  5. fewer re-bundle-execs

    dchelimsky committed Jul 10, 2010
  6. OK - we're re-adding Bundler.setup - you just have to work with a clean

    dchelimsky committed Jul 10, 2010
    gemset (with no previous versions of rspec around) for this all to work.
    Period.
  7. OK, now try requiring bundler in the cucumber env (does not work with

    dchelimsky committed Jul 10, 2010
    bundler-1.0.0.beta.2, but does work with bundler built from commit
    b078098212de02f1505b4c73de0a2e8e68ee3d65, and therefore will hopefully
    work with bundler-1.0.0.beta.3, which is due out any day).
Commits on Jul 9, 2010
  1. update to aruba 0.2.0

    dchelimsky committed Jul 9, 2010
Commits on Jul 8, 2010
  1. Move default rake task manipulation to begin/rescue block so nothing

    dchelimsky committed Jul 8, 2010
    happens unless RSpec is installed.
Commits on Jul 7, 2010
  1. docstring

    dchelimsky committed Jul 7, 2010
  2. words

    dchelimsky committed Jul 7, 2010
  3. bump version to beta 16

    dchelimsky committed Jul 7, 2010
  4. Revert "Tell rails' generator to generate rspec request specs when ge…

    dchelimsky committed Jul 7, 2010
    …nerating a"
    
    This reverts commit 12f0afa.
    
    - Rails controller generator does not generate the routes needed for the
      generated request spec. Backing this out.
Commits on Jul 5, 2010
  1. Tell rails' generator to generate rspec request specs when generating a

    dchelimsky committed Jul 5, 2010
    controller or resource.
    
    Closes #33.
Commits on Jul 4, 2010
  1. Simplify stub_model so it just sets the stubs you set.

    dchelimsky committed Jul 4, 2010
    - There is really no benefit from the attribute/non-attribute
      distinction when setting stubs.
    - This helps to make stub_model usable with non-ActiveRecord models
    
    Closes #108.