Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Commits on Sep 16, 2010
@dchelimsky dchelimsky Generate controller and view specs with the controller generarator
- Closes #205.
Commits on Sep 24, 2010
@dchelimsky dchelimsky Add --webrat-matchers flag to scaffold generator
- also get --skip-helper-specs to work properly
@dchelimsky dchelimsky Make spec temporarily pending
- need to figure out the failure before next release, but need to move
  on at this moment
Commits on Sep 28, 2010
@dchelimsky dchelimsky New be_new_record matcher delegates to persisted?
- prefer ActiveModel API over ActiveRecord
Commits on Sep 30, 2010
David Chelimsky and Josh Graham separate ActiveModel and ActiveRecord APIs in stub_model and mock_model 617a012
@paulrosania paulrosania ControllerExampleGroup uses controller as the implicit subject by def…

Restores functionality from RSpec 1.X.  Hat tip to jferris for the original
patch. (Closes #223)
@dchelimsky dchelimsky refactor spec ca16b51
Commits on Oct 02, 2010
@dchelimsky dchelimsky Hook into rails-3 generators using 3.0 and 3.1 APIs
- Rails-3.1 will change the API for hooking into generators from
  "config.generators" to "config.app_generators".
- This commit supports either.
@dchelimsky dchelimsky Rails 3.0.1 and up uses view_assigns instead of _assigns. This commit
supports both.
Commits on Oct 05, 2010
@dchelimsky dchelimsky Need to support view_assigns in either case. 5a35718
@dchelimsky dchelimsky update post-commit message 2c657da
@dchelimsky dchelimsky add some thor tasks to help with development 5aba0cd
@dchelimsky dchelimsky update history 7698f41
@dchelimsky dchelimsky bump version to 2.0.0.rc 17816d2
@dchelimsky dchelimsky Add -Ispec to rcov_opts in spec:rcov rake task.
- Closes #229.
Commits on Oct 06, 2010
@dchelimsky dchelimsky Revert "Add -Ispec to rcov_opts in spec:rcov rake task."
This reverts commit 2644b79.

- rspec-core now ensures that -Ispec is added to rcov_opts
@dchelimsky dchelimsky route_to delegates to assert_recognizes rather than assert_routing
- aligns better with the matcher name
- eliminates failures on alternate routes to same controllers
- route generation can be spec'd in the context of view specs
- Closes #221.
Commits on Oct 08, 2010
@dchelimsky dchelimsky Generate stub_model(X).as_new_record in generated "new" view specs
- Closes #232.
@dchelimsky dchelimsky add rails-related dirs to the default backtrace_clean_patterns 73051af
@matthewtodd matthewtodd Make Autotest::RailsRspec2 honor spec/support/*.rb
Previously, it looked at a subdirectory called "shared," but the
generated spec_helper guides us towards one named "support" instead.

(Alternatively, we could have changed the generated spec_helper to
suggest "shared" instead, but since cucumber uses "features/support,"
this seems like a good choice.)

- Closes #233.
@dchelimsky dchelimsky convert some befores to lets bfb7792
Commits on Oct 10, 2010
@dchelimsky dchelimsky words 98de837
@dchelimsky dchelimsky add a little relish 2a14c75
@dchelimsky dchelimsky words fffa8c8
@dchelimsky dchelimsky tweak post-install message b48ee00
@dchelimsky dchelimsky prep for 2.0.0 6526142
@dchelimsky dchelimsky lock down a couple of gems 3b69fd6
@dchelimsky dchelimsky one default,please fdc4160
Commits on Oct 11, 2010
@dchelimsky dchelimsky require 'rspec/core' before using RSpec.configure
- Closes #236.
@dchelimsky dchelimsky Generated mock_[model] method adds (optional) stubs on each reference.
- This fixes an edge case bug that appears when defining stubs using the
  lazy-eval'd block form (obj.stub(:m) {v}).
- Closes #218.
@dchelimsky dchelimsky words 953eefc
Commits on Oct 12, 2010
@dchelimsky dchelimsky Offer option to suppress generation of request spec
- also renamed a bunch of generator methods to make them all more
- Closes #237.
Commits on Oct 13, 2010
@dchelimsky dchelimsky words 1b82c1f
Commits on Oct 15, 2010
@baldowl baldowl Tweaked assign() to work with Ruby on Rails 3.0.1.
- Closes #243.
@dchelimsky dchelimsky Hack to ensure view_assigns does the right thing without checking the
Rails version.
@dchelimsky dchelimsky Dev: update thor tasks. 1bc06c8
@dchelimsky dchelimsky History e9dca62
@dchelimsky dchelimsky bump version to 2.0.1 235b79c
Commits on Oct 18, 2010
@dchelimsky dchelimsky update versions bdd0067
@dchelimsky dchelimsky words 1d9ce72
Commits on Oct 19, 2010
@dchelimsky dchelimsky Remove 'require "rspec/core/backward_compatibility"'
- Closes #248.
Commits on Oct 20, 2010
@dchelimsky dchelimsky -words 0f8d020
Commits on Oct 22, 2010
@dchelimsky dchelimsky update dependencies across development repos f28a689
Commits on Oct 23, 2010
@dchelimsky dchelimsky links to docs bb43457
Commits on Oct 24, 2010
@dchelimsky dchelimsky Properly deprecate integrate_views 49c87d5
Commits on Oct 31, 2010
@dchelimsky dchelimsky dependencies, deschmendencies deffa66
Commits on Nov 01, 2010
@dchelimsky dchelimsky run subdirectory tasks with_new_environment ebadb0f
Commits on Nov 06, 2010
@dchelimsky dchelimsky Move error[s]_on to ActiveModel::Validations so it can be used by other
ActiveModel compliant ORMs

- Closes #251.
@dchelimsky dchelimsky remove direct dep on arel b8ae95e
@dchelimsky dchelimsky just ask if AR is defined instead
- Closes #254.
@dchelimsky dchelimsky properly isolate cuke env c18002b
Commits on Nov 07, 2010
@dchelimsky dchelimsky Gemfile tweaks efbe630
@dchelimsky dchelimsky use bundler's mechanism, silly 90a5a58
@dchelimsky dchelimsky history 84d1f49
@dchelimsky dchelimsky bump to 2.1.0 59549cc
@dchelimsky dchelimsky update relish task 359b311
@dchelimsky dchelimsky update versions for development 2fc21b4
Commits on Nov 10, 2010
@jdelStrother jdelStrother Fix inclusion of default helper to ViewExampleGroup
I suspect it's been broken ever since
6f254ac60a95aab7eafc56f0f19267ca9cb6412a in rspec-core

- Closes #259.

Signed-off-by: Jonathan del Strother <>
@dchelimsky dchelimsky history 41b01ee
Commits on Nov 18, 2010
@dchelimsky dchelimsky Add License bcb4ba6
@dchelimsky dchelimsky history 14f0f4e
Commits on Nov 19, 2010
@dchelimsky dchelimsky No need to require RSpec::Matchers now that it's managed by
@dchelimsky dchelimsky History 52cf362
@dchelimsky dchelimsky History 68a7988
Commits on Nov 22, 2010
@dchelimsky dchelimsky Clarify RDoc for mock_model
- emphasize the fact that it supports the ActiveModel API, not
@dchelimsky dchelimsky Add gem dependency on rails ~> 3.0.0
- Closes #267.
@dchelimsky dchelimsky History 5ae898e
Commits on Nov 23, 2010
@dchelimsky dchelimsky Add stub_template method for view specs.
- supports stubbing partials rendered by views in view specs
- Closes #263.
@dchelimsky dchelimsky update history/upgrade w/ info about stub_template 012fd22
@dchelimsky dchelimsky don't generate :new_record? => false d38e51f
@dchelimsky dchelimsky revert changes that broke controller specs 883fe01
Commits on Nov 25, 2010
@dchelimsky dchelimsky method_missing is private 1657d18
@dchelimsky dchelimsky explain README links to documentation 1e2b17e
@rgarner rgarner Explicit template/layout render example
- Closes #270.
@dchelimsky dchelimsky upgrade to cucumber 0.9.4 f747082
Commits on Nov 28, 2010
@dchelimsky dchelimsky whitespace (silly) 5c1fce0
@dchelimsky dchelimsky prep for 2.2 release 840aa86
@dchelimsky dchelimsky bump version to 2.2 3025e80
Commits on Nov 29, 2010
@solnic solnic Depend on railties, activesupport and actionpack instead of monolithi…
…c rails gem

- Closes #275.
@dchelimsky dchelimsky history db88d25
@dchelimsky dchelimsky Update deps
- rspec ~> M.m.0 (3 digits instead of 2)
- rails gems >= 3.0.0 (not ~> 3.0.0)
Commits on Nov 30, 2010
@dchelimsky dchelimsky links 1a881dd
@dchelimsky dchelimsky Point cucumber dev dependency to my fork which depends on builder.
- filed pull request with cucumber project - can revert this if/when
  that is merged/released.
@dchelimsky dchelimsky Gemfile can still depend on rails for development 6eb2b25
Commits on Dec 01, 2010
@dchelimsky dchelimsky Got webrat working across request and controller specs
- added --webrat flag for request controller generator
- deprecated --webrat-matchers flag across generators
- Closes #277.
@dchelimsky dchelimsky bump version to 2.2.1 eb7c5dc
@dchelimsky dchelimsky Make rails gem deps work for anything < 4.0 c89a5ac