Skip to content
This repository
  • 384 commits
  • 127 files changed
  • 17 comments
  • 27 contributors
This comparison is big! We're only showing the most recent 250 commits
May 19, 2011
David Chelimsky doc: add note about helpers defined in controllers 8b5260b
May 21, 2011
jack dempsey guard against calling prerequisites on nil
- Closes #377.
- Closes #378.
8bc247d
David Chelimsky changelog 99ac04d
David Chelimsky a3.1.0.rc1 to build 29809a9
David Chelimsky changelog b374101
May 22, 2011
David Chelimsky Dev: lock rake 0.8.7 a66b22d
David Chelimsky ci: use bin/rake to ensure the locked rake version 7cab06b
David Chelimsky ci: add --binstubs to bundler args 894ab96
David Chelimsky ci: quote args 1a8c4ef
David Chelimsky ci: one more try with --binstubs 4656e6d
David Chelimsky ci: binfiles are in gemfiles/bin/ 129dc19
David Chelimsky ci: shell out to bin/rake to lock down the rake version eb3f3be
David Chelimsky bump to 2.6.1.beta1 99687c0
May 25, 2011
David Chelimsky lock rake at ~> 0.9.0 7037b25
David Chelimsky back to 0.8.7 f8a6b93
David Chelimsky dev: add rdoc to gemfile d2a25bd
David Chelimsky dev: add generic 'thor gemfile:with' command to run bundle commands 02394e6
David Chelimsky bump to 2.6.1 72671f3
David Chelimsky credit fd253db
David Chelimsky ci: add 3.0.8.rc1 to build d3894ad
May 27, 2011
Lewis Marshall Fix #mock_model to enable stubbing of to_s 50d7024
May 28, 2011
David Chelimsky 3.0.8.rc2 a967b0b
May 30, 2011
Justin Ko Merge pull request #381 from econsultancy/econsultancy-2011-05-27
[Fixes #380] Fix #mock_model to enable stubbing of to_s
43743f9
Justin Ko User "thor gemfile:use", not "thor rails:use" 4ac10d8
Justin Ko spacing 09b76dc
Justin Ko Don't add instance methods if they are stubbed 4303e77
Justin Ko clearer example descriptions 67bbae7
David Chelimsky ci: run against rails-3.0.8.rc3 301ca01
Justin Ko spec the rest of the methods 8e784e8
Justin Ko whoops, was running the spec wrong ee24a72
David Chelimsky inline the specs from the last shared group 34765e1
Jun 01, 2011
David Chelimsky ci: rails 3.0.8.rc4 bf8a853
David Chelimsky relish docs b4560eb
Jun 06, 2011
David Chelimsky doc tweaks a3b334b
David Chelimsky more doc tweaks 56bb408
Jun 07, 2011
David Chelimsky add doc about cookies in controller specs 82542e7
David Chelimsky update doc 551d902
David Chelimsky ci: rails 3.0.8 (final) and 3.1.0.rc2 d59b515
Jun 08, 2011
David Chelimsky ci: rails 3.0.9.rc1 and 3.1.0.rc3 6506f5a
Jun 09, 2011
Alex Rothenberg added generator specs for model_generator using the ammeter gem 60dac28
Justin Ko Merge pull request #393 from alexrothenberg/with_generator_specs
added generator specs for model_generator using the ammeter gem
78790a2
Justin Ko spacing bcfdbe5
Jun 10, 2011
David Chelimsky Revert "spacing"
This reverts commit bcfdbe5.
8f686bf
David Chelimsky Revert "Merge pull request #393 from alexrothenberg/with_generator_sp…
…ecs"

Not sure why yet, but this merge broke our spec suite.

This reverts commit 78790a2, reversing
changes made to 6506f5a.
2ff65a9
David Chelimsky ci: rails 3.1.0.rc4 and 3.9.0.rc3 902ceba
Jun 13, 2011
David Chelimsky ci: rails-3.0.9.rc5 632d20d
David Chelimsky dev: constrain file list in gemspec eb9f887
Jun 16, 2011
David Chelimsky ci: run against rails-3.0.9 (final) e0cd00c
Jun 20, 2011
Alex Rothenberg added generator specs for model_generator using the ammeter gem 83622b2
David Chelimsky ci: exclude local dev gems from travis bundle 548d8f6
Jun 21, 2011
David Chelimsky dev: exclude rcov tasks when using ruby 1.9 51cfcac
Justin Ko spacing 11f5cda
Alex Rothenberg patch so ammeter and generator specs work with rails 3.1 171393d
Alex Rothenberg added a feature for testing a generator 511e8b2
Justin Ko Merge pull request #397 from alexrothenberg/with_generator_specs
Follow up to #393: added generator specs for model_generator using the ammeter gem
9b8d14d
Justin Ko singularize feature filename 53147d6
Justin Ko spacing fff2a23
Justin Ko dev change cf044fc
Jun 22, 2011
David Chelimsky ci: remove obsolete config c7ad31d
Jun 23, 2011
David Chelimsky bump to cucumber 1.0.0 5c07dea
Alex Rothenberg specs for all the rspec-rails generators 82352cb
Justin Ko Merge pull request #402 from alexrothenberg/more_generator_specs
specs for all the rspec-rails generators
0f62775
Justin Ko should-less 327eecd
Jun 24, 2011
Brent J. Nordquist #403 (comment)
Per justinko, removed ".to_s" from all ":id => <%= file_name %>.id" for consistency.
302a14c
Alex Rothenberg removing features/generator_specs as it tests ammeter functionality a…
…nd does not belong in rspec-rails
fcfb1e6
David Chelimsky Merge pull request #405 from alexrothenberg/removing_generator_feature
remove features/generator_specs as it tests ammeter functionality
0bfa427
Justin Ko Merge pull request #404 from bjnord/patch-1
Patch for controller spec generator :id inconsistency (#403)
9dae6f9
Jun 25, 2011
David Chelimsky move Changelog.md to project root bda362b
David Chelimsky changelog 18c02e2
David Chelimsky ci: use https for travis badge 3018843
David Chelimsky dev docs 0a256fc
David Chelimsky ci: bump aruba timeout to 15 seconds (srsly?) a1604b1
David Chelimsky Fix bug caused by fixture_file_upload reading from ActionController::…
…TestCase instead of self.class.

- This should also be fixed in rails-3.1
  - rails/rails#1861
- Fixes #252
9ad14ae
Jun 26, 2011
Justin Ko better example description for generated controllers 465cb3e
Jun 28, 2011
José Valim Run all spec/*_spec.rb files instead of just the ones listed in the d…
…irectory.
9290c03
Justin Ko Merge pull request #407 from josevalim/patch-1
Run all spec/*_spec.rb files instead of just the ones listed in the direc
097cf62
Jul 03, 2011
David Chelimsky Changelog 44f4988
David Chelimsky support nested resource in view spec generator
- Fixes #409.
1f2f619
David Chelimsky Changelog fc75bc7
Jul 07, 2011
David Chelimsky doc tweaks 20f3780
Jul 11, 2011
Lucas Caton Adjusts in README file 62ad935
David Chelimsky Merge pull request #412 from lucascaton/master
Adjusts in README file
95dac95
Jul 15, 2011
Alan Shields Document what actions are made available in an anonymous controller
It's a somewhat long test, but it shows what calls you can make and
what calls you cannot make on an anonymous controller. I ran into this
issue myself when I thought that all actions were routed.

They weren't.

Written on time paid for by onetotheworld.net
c8523df
Jul 28, 2011
David Chelimsky ci: bump 3.1.0 to rc5 and add 3-1-stable af9ba4c
Aug 03, 2011
Alan Shields Provide a better example of how to stub a helper method in a view spec
When I upgraded to Rails 3.0.9 I ran into an issue where
controller.singleton_class.class_eval was leaving behind cruft for
other tests to run into.

We exploit the fact that helper methods are imported into the view class
to stub those helpers.
6878df5
Justin Ko Merge pull request #420 from alanshields/stub-helper
Better example of how to stub a helper method in a view.
9fef2f5
Aug 04, 2011
David Chelimsky ci: add rails 3.0.10 6ca1238
Aug 14, 2011
David Chelimsky require 'rspec/autorun' in generated spec_helper
- Closes #424
24a3117
Aug 15, 2011
Lenny Marks Re-introduced :bypass_rescue in ControllerExampleGroup
- Closes #426
e373d79
David Chelimsky override method via extend (avoids warning from Ruby) a550d08
Aug 16, 2011
David Chelimsky add spec for bypass_rescue e028626
David Chelimsky rename feature to bypass_rescue and tweak it a bit b4da358
David Chelimsky Changelog b306f55
Aug 17, 2011
Andy Lindeman Infer base class of anonymous controllers
- Closes #421, #427
a2caa56
David Chelimsky beef up anonymous controller doc 58e89df
Aug 18, 2011
Andy Lindeman [Fixes #398] ActiveRecord::Relation can use =~ matcher 028a174
Andy Lindeman Moving ar_classes to spec/support 311e51f
Andy Lindeman Add spec coverage for ActiveSupport::Relation =~ matcher 0a82f91
Aug 19, 2011
Andy Lindeman Only register operator if ActiveRecord is defined 05a2b6c
Justin Ko Merge pull request #428 from alindeman/ar_relation_match_array
[Fixes #398] ActiveRecord::Relation can use =~ matcher
8dfd952
Justin Ko changelog 99526fd
Aug 22, 2011
David Chelimsky bump rails 3.0.10 to the production release and 3.1.0 to rc6 60312d5
Aug 28, 2011
Marc Weil Edited gemfiles/base.rb via GitHub 0130c2f
Marc Weil Fix deps so things actually work. f3e6d41
Marc Weil Parse query parameters and pass them to assert_recognizes. 096aaab
Marc Weil Add case in spec for dealing with multiple query params. c94c1a8
David Chelimsky Merge pull request #431 from marcweil/master
Parse query parameters and pass them to assert_recognizes
eafdae4
David Chelimsky let Rack::Utils parse the query string in route_to matcher 736e496
David Chelimsky changes ceeed7a
Aug 29, 2011
Marc G Gauthier Use Github Flavored Markdown d023586
David Chelimsky Merge pull request #432 from marcgg/colored-readme
Use Github Flavored Markdown for the README
cd61270
David Chelimsky Revert "Use Github Flavored Markdown"
Nice idea, but it breaks display in other environments.

This reverts commit d023586.
99ba346
Aug 31, 2011
David Chelimsky ci: run against production release of rails 3.1.0 2008531
Sep 01, 2011
Andy Lindeman Fix mistake in check to see if ActiveRecord is defined 38c0faa
Justin Ko Merge pull request #434 from alindeman/ar_relation_match_array
Fix mistake in check to see if ActiveRecord is defined
c7388eb
Sep 05, 2011
David Chelimsky Define primary_key method on class generated by mock_model("WithAStri…
…ng").

- Closes #435.
cf3f04c
Sep 06, 2011
David Chelimsky use rake 0.9.2 346b0a2
David Chelimsky dev: no need to update what we just loaded 9a92b75
Sep 23, 2011
Andrei Maxim Use the correct Travis status icon URL 5dce44c
Justin Ko Merge pull request #444 from xhr/master
Use the correct Travis CI status image URL
9805468
Justin Ko Fixed incorrect documentation for stub_model. Thanks Evgeniy Dolzhenko. 1b8c886
Oct 02, 2011
David Chelimsky ci: add journey to gemfile for rails master 68cb4ea
David Chelimsky dev: add association IDs for rails 3.2 d85e787
Oct 04, 2011
David Chelimsky ci: add rails 3.1.1 and ruby 1.9.3 to travis config 45aca2a
Oct 06, 2011
David Chelimsky ci: bump rails 3.1.1 to rc3 5649a36
Oct 09, 2011
David Chelimsky ci: run against rails 3.1.1 final 4a1cb78
David Chelimsky bump to 2.7.0.rc1 aea643f
David Chelimsky bump relish version to ~> 0.5.0 46cb9f8
Oct 16, 2011
David Chelimsky config yard 2f8ea66
David Chelimsky cleanup and add some rdoc 6ab0bb6
David Chelimsky update changelog for 2.7.0 release 9ed59a5
David Chelimsky bump version to 2.7.0 90746f9
David Chelimsky fix formatting problems in the changelog 59a41f6
Oct 20, 2011
Attila Györffy Fix typo in the upgrade instructions. 4a0a855
Attila Györffy Use .to_param instead of .id in controller spec templates.
Action Pack uses to_param for constructing an URL to objects. The default implementation returns this record’s id as a String. This way even if to_param is overridden in an ActiveRecord object, the controller spec templates are going to still work.
412b38a
Oct 25, 2011
Justin Ko Allow generator specs to work with --default_path 1416314
Justin Ko Set default order to :random b6022dc
Justin Ko Fix order-dependent spec 0b9b153
Justin Ko Don't match on rake loaded files 364fbb0
Oct 29, 2011
David Chelimsky align config extensions with changes to rspec-core planned for 2.8 48d4cd3
Oct 30, 2011
David Chelimsky Merge pull request #458 from pda/master
Remove config.mock_with :rspec, avoid config-after-examples error.
a5c0ee0
Oct 31, 2011
Paul Annesley Removed unnecessary "config.mock_with :rspec" from spec_helper.rb
This statement configures RSpec to do what it would do anyway, and
triggers errors regarding RSpec.configure being called after examples
have been defined.

See: rspec/rspec-rails#371
See: rspec/rspec-core#455
a5030df
David Chelimsky dev: ruby-debug19 versions 3ba3a49
David Chelimsky fix bug where namespaced generators were falling down 1b1c181
Nov 06, 2011
David Chelimsky changelog 2fa4bc7
David Chelimsky bump to 2.8.0.rc1 b8b7dd9
Nov 08, 2011
Jared Grippe restored the ability to use method missing matchers like be_blank or …
…be_true in before blocks for routing example groups
c1c2f60
David Chelimsky update License and/or authors in gemspec b50073f
David Chelimsky update email addy and homepage in gemspec 08ceb6f
Nov 20, 2011
David Chelimsky rdoc 130c94f
David Chelimsky dev: much simpler management of multiple gemfiles 5687b8d
David Chelimsky ci: the last commit broke our travis config - going for all 3.1.1 for
now but need to revisit.
559e8f2
David Chelimsky ci: check an env variable before .rails-version 342313f
David Chelimsky ci: move file refs 012cee7
David Chelimsky ci: 3.1.3 568030e
David Chelimsky ci: point rails master build at arel on github b80af68
David Chelimsky ci: rails 3.0.11 874f047
David Chelimsky change describes (deprecated) to described_class c0cfb51
Nov 21, 2011
David Chelimsky refactor a couple of matchers to use rspec-expectation's new BaseMatcher f963a5b
David Chelimsky doc: remove comment about Capyabara matchers not being available in v…
…iew specs

- #302
1699f66
David Chelimsky dev: reference 3.1.3 instead of 3.1.1 af3ff6e
David Chelimsky convert remaining matchers to classes (faster) and document them ffd6c07
David Chelimsky cleaner scoping
- def classes/modules in RSpec::Rails::Matchers instead of
  RSpec::Matchers
- less opening classes/more includuing modules
5af9d7d
Nov 22, 2011
David Chelimsky constrain ammeter dependency to :test group
It was causing some trouble running generators when it was in the
development group as well.
40d3bf1
David Chelimsky dev: don't clobber the Gemfile.lock file
That gets handled by running "thor version:use x.x.x" and it is
inconvenient to have to install the bundle every time we're trying to
clean up generated files.
7b568eb
David Chelimsky require 'rspec/rails/matchers' to (temp) resolve circular dep between…
… rspec-rails' specs and ammeter
efcafc7
David Chelimsky more rdoc 620b7f3
David Chelimsky small rdoc tweak e26fb34
David Chelimsky rdoc: correct indentation helps (markdown) 78c7548
David Chelimsky git ignore DS_Store 2fbef9d
Nov 24, 2011
David Chelimsky BaseMatcher now implements match_unless_raises b24cc69
Nov 25, 2011
David Chelimsky dev: hack the Gemfile to print instructions for ruby-debug-base19 and…
… linecache19 on ruby-1.9.3
1ec505d
David Chelimsky ci: don't warn about ruby-debug-base19 and linecache19 in ci 9b72cf9
David Chelimsky dev: move dev-env gems to Gemfile-custom.sample 3b7452b
Dec 01, 2011
Jason M. Kusar Check to see if the module we're actually working with is loaded (in …
…case only pieces of ActiveRecord are loaded).
402996e
Jason M. Kusar Check to see if the module we're actually working with is loaded (in …
…case only pieces of ActiveRecord are loaded).
08ed00a
David Chelimsky Merge pull request #467 from jkusar/master
Check to see that the necessary sub-modules are actually loaded before extending
ffdac58
Dec 02, 2011
David Chelimsky add DEV-README 49d7ae7
David Chelimsky add license to gemspec (and consequently the gem) c954554
Dec 03, 2011
David Chelimsky Merge pull request #460 from deadlyicon/patch-1
define @routes on demand instead of in before hook (ensures they are present for before hooks that might run earlier)
37da9b0
David Chelimsky Merge pull request #454 from liquid/master
Use to_param in scaffold spec templates
d05c3ef
Dec 04, 2011
David Chelimsky use github-flavored-markdown in the readme 1bec8ff
David Chelimsky include changelog and license in generated rdoc c5c576b
David Chelimsky Revert "restored the ability to use method missing matchers like be_b…
…lank or be_true in before blocks for routing example groups"

This reverts commit c1c2f60.

Unfortunately, there is code outside rspec's control that refers
directly to the instance variable, so this change ends up breaking more
than it fixes.

- Reopens #460.
eb08f7d
David Chelimsky rdoc 9bf3e32
Dec 07, 2011
Igor Afonov Stub attribute accessor after respond_to? call on mocked model. Fixes #… 9a23ba1
David Chelimsky Changelog for #437 88137f2
David Chelimsky rdoc for bypass_rescue 4c7fd73
Igor Afonov Take 2 on stubbing attribute accessor after respond_to? call on mocke…
…d model. Fixes #437.
e242279
David Chelimsky Implement method_missing on mock model's proxy object rather than
stubbing upon respond_to?

- #437
8a0a6f5
Thiago James Pinto Restricted controllers tested with more readability 7b377c1
David Chelimsky Changelog for #464 ad5e580
David Chelimsky Consolidate rdoc for example groups to README 80febb5
Dec 08, 2011
David Chelimsky more rdoc cleanup c1f0eab
David Chelimsky rdoc 0e6b185
Dec 19, 2011
David Chelimsky Move instance methods from InstanceMethods modules to stop deprecation
warnings from ActiveSupport-3.2
2085462
David Chelimsky ci: add rails-3.2.0.rc1 8b0eb72
David Chelimsky prep for 2.8.0.rc2 13b699f
Dec 20, 2011
David Chelimsky Remove handler and template engine from file names in generated view
specs.

- This eliminates deprecation warnings from rails 3.2, and still works
  with earlier 3.x versions.
1ccb17c
David Chelimsky changelog for previous commit 1ac8709
Evgeniy Dolzhenko Ensure namespaced helpers are included automatically
-- Closes #446.
c00355f
David Chelimsky Merge pull request #415 from alanshields/document-anonymous-controlle…
…r-functions

Document what actions are made available in an anonymous controller
b8b6f79
David Chelimsky Changelog and remove .intern (send doesn't care) c4df12e
John Wulff add description method to RSpec::Rails::Matchers::RoutingMatchers::Ro…
…uteToMatcher
6833410
David Chelimsky beef up README section on Request Specs 6a87a0b
Dec 21, 2011
David Chelimsky ci: add rails 3-2-stable and fix support for rails master
- Rails master version is now 4.0.0.beta.
- temp point ammeter at dchelimsky/ammeter to handle rails 4.
3efe8f9
David Chelimsky ci: rails 4 requires 1.9.3 320ea0f
Dec 22, 2011
John Wulff Add spec RSpec::Rails::Matchers::RoutingMatchers::RouteToMatcher desc…
…ription
cd57e56
Jan 04, 2012
David Chelimsky bump rails version to 3.2.0.rc2 ff79b8e
David Chelimsky bump to 2.8.0 0fd5bf4
David Chelimsky Explicitly stub valid? in stub_model.
This fixes a bug in stub_model that appeared with the rails-3.2.0.rc2
release, which means that people who use stub_model will have to upgrade
to the next rspec-rails release (2.8.1) when they upgrade to rails-3.2.
a10c402
David Chelimsky Changelog for previous commit and bump to 2.8.1 8ed140d
Jan 08, 2012
jwow313 Capybara uses :text, not :content as the option to have_selector. Any…
…thing passed via :content is ignored entirely, leading to lots of incorrectly passing tests. The docs should reflect this, as this is pretty confusing. See this Capybara issue for more details: jnicklas/capybara#525
70c2301
Justin Ko Merge pull request #479 from jwow313/master
Readme update for Capybara syntax
7616042
Jan 12, 2012
Will Farrington Update for rspec-expectations compatibility. 98be115
Jan 18, 2012
David Chelimsky Merge pull request #482 from wfarr/master
Updates for compatibility with rspec-expectations
caa5830
David Chelimsky use ammeter from git (has fix for deprecation warnings on InstanceMet…
…hods)
c9b47d6
David Chelimsky mock_model(XXX).as_null_object.unknown_method returns self
- Fixes #488.
7fa15c4
David Chelimsky Merge pull request #473 from jwulff/add_description_to_route_to_matcher
Add description method to route_to matcher
d5d3dfb
David Chelimsky Changelog for #473.
Also aligned the example with others in the spec.
ea2be20
David Chelimsky dev: add -w when running rake spec 2ffa9fb
David Chelimsky Funny thing, but turning on warnings produces a bunch of warnings. Mo…
…stly gone now.
51893e6
Jan 21, 2012
Justin Reid Fix method name type 'click_buton' 03a2f6f
David Chelimsky Merge pull request #490 from reidreid46/master
Fix typo in readme: 'click_buton' to 'click_button'
89d6ef1
Jan 24, 2012
David Chelimsky ci: run against rails 3.2.0 acfe944
Thiago James Pinto this commented line should not be inside a loop 4ca7614
David Chelimsky Use .inspect on hashes in descriptions for Ruby 1.8.7.
- #473.
df0aa29
David Chelimsky Merge pull request #493 from yakko/no_more_repeating_webrat
this commented line should not be inside a loop
c7cc3cc
David Chelimsky ci: point Gemfile at git for journey gem for rails 3-2-stable 53644fc
Jan 26, 2012
David Chelimsky ci: rails 3.2.1 50a27f2
Feb 01, 2012
David Chelimsky remove rendering engine and mime type from calls to describe and rend…
…er in docs and cukes
ff96af6
Feb 12, 2012
David Chelimsky Generated view specs use different IDs for each attribute.
- Fixes #504.
88ed708
Justin Ko Use #next 1e2ac19
Feb 14, 2012
David Chelimsky ci: experiment with new travis feature to allow failures when running…
… against dev branches of rails
8398bb7
Feb 20, 2012
Matthew Lineen Update README.md 6207edc
Justin Ko Merge pull request #506 from mlineen/patch-1
Update README.md
a281271
Feb 27, 2012
David Chelimsky ci: add rails-3.2.2.rc1 c873d34
David Chelimsky Make specs about messages more tolerant of inconsistent ordering char…
…acteristics of different rubies.
e5938b8
David Chelimsky ci: extend aruba timeout to 30 secs acef5dc
Mar 01, 2012
David Chelimsky ci: run against released rails-3.2.2 4f747d7
Mar 07, 2012
David Chelimsky ci: bump to latest rails patch releases d05b9a8
Andrey Voronkov Make rspec to copy schema structure if schema format is :sql. 6d726b5
Justin Ko Merge pull request #517 from Antiarchitect/patch-1
Make rspec to copy schema structure if schema format is :sql.
86eabe1
Justin Ko changelog ddccef1
Justin Ko Use name instead of handle 46a1a60
Mar 11, 2012
David Chelimsky dev: upgrade Cucumber, Aruba and ZenTest 4bc0843
David Chelimsky bump to 2.9.0.rc1 a52573e
Mar 12, 2012
David Chelimsky align gemspec with other rspec libs 5f9b860
David Chelimsky bump to 2.9.0.rc2 4850973
Mar 17, 2012
David Chelimsky bump to 2.9.0 9f976cb