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

    dchelimsky committed Aug 6, 2010
    - 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
  2. Initial support for choosing webrat or capybara

    justinko committed with dchelimsky Aug 6, 2010
    - wraps webrat and capybara includes in blocks that are only eval'd when
      either is loaded
  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)

    justinko committed with dchelimsky Aug 4, 2010
    - Closes #131.
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

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

    dchelimsky committed Jul 31, 2010
    RSpec::Matchers in a module that gets included in every type of example
    group.
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

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