Re: [rspec-users] RSpec-2.0.0 is released!

2010-10-11 Thread James Martin
Congrats on reaching this milestone and many thanks to all who contributed. Your efforts are much appreciated! RSpec2 is a massive improvement over 1 and I'm really enjoying using it. Thanks, James. On Sunday, October 10, 2010, David Chelimsky wrote: > ## RSpec-2.0.0 has been released! > > This

Re: [rspec-users] RSpec-2.0.0 is released!

2010-10-11 Thread aslak hellesoy
> ## RSpec-2.0.0 has been released! > > David, I'm so impressed how you have managed to manage a half-rewrite, updating the RSpec book (which now soon goes to print) and coordinating everything with Rails and the 80+ contributors. The upgrade process has been extremely simple for me taken into acco

Re: [rspec-users] RSpec-2.0.0 is released!

2010-10-11 Thread Joseph Wilk
On 11/10/2010 16:14, aslak hellesoy wrote: > > ## RSpec-2.0.0 has been released! > > > David, I'm so impressed how you have managed to manage a half-rewrite, > updating the RSpec book (which now soon goes to print) and > coordinating everything with Rails and the 80+ contributors. The > upgrad

Re: [rspec-users] RSpec-2.0.0 is released!

2010-10-11 Thread Justin Ko
On Oct 11, 11:14 am, aslak hellesoy wrote: > > ## RSpec-2.0.0 has been released! > > David, I'm so impressed how you have managed to manage a half-rewrite, > updating the RSpec book (which now soon goes to print) and coordinating > everything with Rails and the 80+ contributors. The upgrade proc

Re: [rspec-users] RSpec-2.0.0 is released!

2010-10-11 Thread Dan North
What Aslak said. A lot. Good job indeed. Cheers, Dan On 11 October 2010 16:14, aslak hellesoy wrote: > > ## RSpec-2.0.0 has been released! >> >> > David, I'm so impressed how you have managed to manage a half-rewrite, > updating the RSpec book (which now soon goes to print) and coordinating >

[rspec-users] I am trying to find out a way to use the Selenium facility to get cross browser support in some simple way

2010-10-11 Thread Xeno Campanoli
I would be glad to see: 1.Generation of usable Selenium Core Test Suites. 2. Instructions to create a proxy server to run the tests, like with Selenium Grid or some such thing. 3. Any other thing that allows me to run the Cucumber/RSpec tests without having to have the ins

[rspec-users] I am trying to subscribe to this group, and Google is saying:

2010-10-11 Thread Xeno Campanoli
There is a problem with your choice of subscription type No other comment? WTF? W$7 install on Xeno's RI Laptop. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] DateTime.now.utc in fixtures

2010-10-11 Thread Russell Quinn
I have the following in my fixtures: publish_date: <%= DateTime.now.utc - 1.day %> But 'DateTime.now.utc' always evaluates to my system time. Does anyone have any ideas? Thanks, Russell. ___ rspec-users mailing list rspec-users@rubyforge.org http://ru

[rspec-users] render_template giving an odd error?

2010-10-11 Thread Matt Darby
Hey all, I'm trying to migrate over to Rails3/RSpec2 and I cannot seem to get the specing of `render` right. I know there was some changes in RSpec2 that affect this, and I was hoping to get a bit of help. I have this is in a before block in a view spec: view.should render_template("attachments/i

[rspec-users] how to test named_scope

2010-10-11 Thread Cyrus
how a can test this controller using rspec #home controller def home @recents = Article.publisheds.with_authorship.paginate(:page => 1, :per_page => 10, :total_entries => 10) @highlight = Article.publisheds.highlight.with_authorship end #article model named_scope :publisheds, lam

[rspec-users] Testing methods that yields a block

2010-10-11 Thread ignacy.moryc
I want to test a class method that sets some state and then yields a block. It looks something like that: class Cat class << self def start id = get_uuid begin yield if block_given? ensure set_some_other_state end

[rspec-users] Nested attributes in fixtures

2010-10-11 Thread Mack
I'm unable to get nested attributes in fixtures to work with Rspec. The models and fixtures function fine outside of rspec, but I get a mysql error (Unknown column "_attributes) when running tests with the same fixtures. I am able to get the specs to run by creating a separate fixture for the nest

Re: [rspec-users] Testing methods that yields a block

2010-10-11 Thread David Chelimsky
On Thu, Oct 7, 2010 at 9:24 AM, ignacy.moryc wrote: > I want to test a class method that sets some state and then yields a > block. It looks something like that: > > class Cat >  class << self >     def start >           id = get_uuid >           begin >              yield if block_given? >      

Re: [rspec-users] Nested attributes in fixtures

2010-10-11 Thread David Chelimsky
On Mon, Oct 11, 2010 at 12:05 PM, Mack wrote: > I'm unable to get nested attributes in fixtures to work with Rspec. > The models and fixtures function fine outside of rspec, but I get a > mysql error (Unknown column "_attributes) when running > tests with the same fixtures. > > I am able to get th

Re: [rspec-users] how to test named_scope

2010-10-11 Thread David Chelimsky
On Wed, Oct 6, 2010 at 12:44 PM, Cyrus wrote: > how a can test this controller using rspec > > #home controller >  def home >     �...@recents = Article.publisheds.with_authorship.paginate(:page => 1, > :per_page => 10, :total_entries => 10) >     �...@highlight = Article.publisheds.highlight.wit

Re: [rspec-users] render_template giving an odd error?

2010-10-11 Thread David Chelimsky
On Tue, Oct 5, 2010 at 8:03 AM, Matt Darby wrote: > Hey all, I'm trying to migrate over to Rails3/RSpec2 and I cannot seem > to get the specing of `render` right. I know there was some changes in > RSpec2 that affect this, and I was hoping to get a bit of help. > > I have this is in a before block