Permalink
Commits on Aug 6, 2010
  1. More work on webrat/capybara support

    - remove hard dep on webrat
    - require 'capybara/rails'
    - now works with:
      - request specs
      - controller specs (with or without render_views)
    - does not yet work:
      - view specs
      - helper specs
    dchelimsky committed Aug 6, 2010
  2. Initial support for choosing webrat or capybara

    - wraps webrat and capybara includes in blocks that are only eval'd when
      either is loaded
    justinko committed with dchelimsky Aug 6, 2010
  3. Merge branch 'controller'

    dchelimsky committed Aug 6, 2010
  4. words

    dchelimsky committed Aug 6, 2010
  5. add bundler lockfile to git

    dchelimsky committed Aug 6, 2010
  6. Add support for be_a_new(klass).with(*args)

    - Closes #131.
    justinko committed with dchelimsky Aug 4, 2010
Commits on Aug 4, 2010
  1. update gemspec

    dchelimsky committed Aug 4, 2010
  2. RSpec, silly

    dchelimsky committed Aug 4, 2010
Commits on Aug 1, 2010
Commits on Jul 31, 2010
  1. Add spec:rcov task

    - Closes #125.
    dchelimsky committed Jul 31, 2010
  2. Wrap SetupAndTeardownAdapter, TestUnitAssertionAdapter and

    RSpec::Matchers in a module that gets included in every type of example
    group.
    dchelimsky committed Jul 31, 2010
Commits on Jul 27, 2010
Commits on Jul 26, 2010
  1. bump version to 2.0.0.beta.19

    dchelimsky committed Jul 26, 2010
Commits on Jul 24, 2010
  1. Add controller DSL for spec'ing behaviour of subclasses of

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