Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread Jim Morris
Good job ;) I was looking around to see where stuff was required, figured it may have something to do with the fact I don't use require 'rails/all' in my application.rb, but break out stuff so I don't include activerecord but do include sequel, maybe active record which is usually loaded first pul

[rspec-users] rspec-rails-2.4.1 is released!

2011-01-02 Thread David Chelimsky
This is a bug fix release recommended for all users who have upgraded to rspec-rails-2.4. ### rspec-rails-2.4.1 / 2011-01-03 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.4.0...v2.4.1) * Bug fixes * fixed bug caused by including some Rails modules before RSpec's RailsExa

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread David Chelimsky
On Sun, Jan 2, 2011 at 11:51 PM, David Chelimsky wrote: > On Sun, Jan 2, 2011 at 11:01 PM, Jim Morris wrote: >> Ok I re installed rspec-rails 2.4.0 looks like my request specs run, >> and my model specs run but my >> controller specs and helper specs do not run, and throw that error. >> >> I have

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread David Chelimsky
On Sun, Jan 2, 2011 at 11:01 PM, Jim Morris wrote: > Ok I re installed rspec-rails 2.4.0 looks like my request specs run, > and my model specs run but my > controller specs and helper specs do not run, and throw that error. > > I have that config.around.. in my spec_helper which applies to most >

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread Jim Morris
Ok I re installed rspec-rails 2.4.0 looks like my request specs run, and my model specs run but my controller specs and helper specs do not run, and throw that error. I have that config.around.. in my spec_helper which applies to most request specs but not to the helper specs or controller specs (

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread Jim Morris
> The problem is with rspec-cells, but I'm not clear yet on the root > cause. Something to do with the way it's hooking itself into the > framework is failing. I totally removed rspec-cells from my gems and bundle, but I still get the same failure, so I'm not convinced it is rspec-cells, it did g

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread David Chelimsky
On Sun, Jan 2, 2011 at 10:20 PM, Jim Morris wrote: > I forgot to mention that I did get a deprecation warning from rspec- > cells (they haven't updated it yet), but I fixed it by doing what the > deprecation warning said. I don't think that has anything to do with > the error I am getting though.

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread David Chelimsky
On Sun, Jan 2, 2011 at 10:12 PM, Jim Morris wrote: > Yes I can, the full app is on https://github.com/wolfmanjm/wolfmanblog_rails > although I downgraded back to rspec-rails 2.3.1, before I did that my > Gemfile.lock looked like... Thanks for that. The problem is with rspec-cells, but I'm not cl

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread Jim Morris
I forgot to mention that I did get a deprecation warning from rspec- cells (they haven't updated it yet), but I fixed it by doing what the deprecation warning said. I don't think that has anything to do with the error I am getting though. On Jan 2, 7:46 pm, David Chelimsky wrote: > On Sun, Jan 2,

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread Jim Morris
Yes I can, the full app is on https://github.com/wolfmanjm/wolfmanblog_rails although I downgraded back to rspec-rails 2.3.1, before I did that my Gemfile.lock looked like... GEM remote: http://rubygems.org/ specs: abstract (1.0.0) actionmailer (3.0.3) actionpack (= 3.0.3)

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread David Chelimsky
On Sun, Jan 2, 2011 at 9:09 PM, Jim Morris wrote: > I just upgraded from 2.3.1 and I now get this error on all my specs... > Nothing else changed and the Upgrade.md does not indicate any backward > compatibilities unless I missed something. > > (in /home/morris/work/ruby/rails3/wolfmanblog) > /opt

Re: [rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread Jim Morris
I just upgraded from 2.3.1 and I now get this error on all my specs... Nothing else changed and the Upgrade.md does not indicate any backward compatibilities unless I missed something. (in /home/morris/work/ruby/rails3/wolfmanblog) /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby -S bundle exec rspec .

[rspec-users] rspec-2.4.0 is released!

2011-01-02 Thread David Chelimsky
Changes to rspec-core listed below. There are no functional changes to rspec-mocks or rspec-expectations for this release. Happy New Year! Cheers, David ### rspec-core-2.4.0 / 2011-01-02 [full changelog](http://github.com/rspec/rspec-core/compare/v2.3.1...v2.4.0) * Enhancements * start the

[rspec-users] rspec-rails-2.4.0 is released!

2011-01-02 Thread David Chelimsky
### rspec-rails-2.4.0 / 2011-01-02 [full changelog](http://github.com/rspec/rspec-rails/compare/v2.3.1...2.4.0) * Enhancements * include ApplicationHelper in helper object in helper specs * include request spec extensions in files in spec/integration * include controller spec extensions in

Re: [rspec-users] undefined method `run_all' for []:Array

2011-01-02 Thread David Chelimsky
On Sun, Jan 2, 2011 at 5:42 AM, Kristian Mandrup wrote: > I'm using the latest ruby 1.9.3-head and recently whenever I run rspec > (2.2+) I get the following error: > > I have seen others have run into this issue, but to resolve it just > rolled back to a previous version of rspec or it there a be

Re: [rspec-users] Specing Ajaxy Views

2011-01-02 Thread Matt Wynne
On 30 Dec 2010, at 03:43, Shea Levy wrote: > Hi all, > > I am working on a feature to allow administrators of an online store to > rearrange the order in which their product categories show up on the site. I > want to use a simple implementation of sortable_lists > (madrobby.github.com/script

[rspec-users] Fantastic Thread on Mock Objects

2011-01-02 Thread Matt Wynne
This is a classic, with some terrific insights from Steve Freeman and Nat Pryce, two of the finest practitioners of TDD that I know: http://groups.google.com/group/growing-object-oriented-software/t/af0c4251123fde43 cheers, Matt m...@mattwynne.net 07974 430184 _

[rspec-users] undefined method `run_all' for []:Array

2011-01-02 Thread Kristian Mandrup
I'm using the latest ruby 1.9.3-head and recently whenever I run rspec (2.2+) I get the following error: I have seen others have run into this issue, but to resolve it just rolled back to a previous version of rspec or it there a better way? ruby-1.9.3-head/gems/rspec-core-2.3.1/lib/rspec/core/ho