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

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

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

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

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

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

    This maintains the behavior established in RSpec 1.
    
    Closes #119.
    wincent committed with dchelimsky Jul 6, 2010
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.

    - 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.
    dchelimsky committed Jul 11, 2010
Commits on Jul 10, 2010
  1. Now that rake tasks are exposed via the railtie, remove all the crap

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

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

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

    - 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.
    dchelimsky committed Jul 10, 2010
  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

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

    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).
    dchelimsky committed Jul 10, 2010
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

    happens unless RSpec is installed.
    dchelimsky committed Jul 8, 2010
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…

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

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

    - 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.
    dchelimsky committed Jul 4, 2010