Re: [rspec-users] mock_model with Rspec/Rspec-rails 1.2 and Rails 2.3

2009-03-17 Thread David Chelimsky
2009/3/18 Tom Meier : > Hi, > Not sure if anyone has faced this problem yet and managed to resolve it... I > understand Rspec 'decoupled' the mock frameworks, however it works fine with > Rails 2.2 but fails in 2.3... Why do you put decoupled in quotes? Are you mocking decoupling of mocking? > Ca

[rspec-users] mock_model with Rspec/Rspec-rails 1.2 and Rails 2.3

2009-03-17 Thread Tom Meier
Hi, Not sure if anyone has faced this problem yet and managed to resolve it... I understand Rspec 'decoupled' the mock frameworks, however it works fine with Rails 2.2 but fails in 2.3... Can anyone give me any pointers as to what changes are required in spec_helper.rb to ensure mock_mod

Re: [rspec-users] [Webrat][RSpec]

2009-03-17 Thread Stephen Eley
2009/3/17 Andrew Premdas : > Hi All, > Since upgrading rspec to 1.2 I am seeing behavior that a web browser is > being opened when there is a problem in a page that a feature visits. > Is this behavior intentional and if so can I turn it off. Having thirty > browser windows open up when I introduce

Re: [rspec-users] [Webrat][RSpec] Features opening browser windows

2009-03-17 Thread Andrew Premdas
Thanks Bart, spot on :) 2009/3/17 Bart Zonneveld > > On 17-mrt-2009, at 11:07, Andrew Premdas wrote: > > Apologies for previous message without proper subject >> >> Since upgrading rspec to 1.2 I am seeing behavior that a web browser is >> being opened when there is a problem in a page that a f

Re: [rspec-users] HTML output truncated in Cucumber

2009-03-17 Thread aslak hellesoy
On Tue, Mar 17, 2009 at 1:43 PM, Bob Payne wrote: > Aslak, > Hi Bob, please use the mailing list: http://wiki.github.com/aslakhellesoy/cucumber/get-in-touch > I am using the > > --format html --out results.html --no_color > > directive in rake when running my cucumber tests. > > The last bit o

Re: [rspec-users] Is there any way to use a second webrat session temporarily?

2009-03-17 Thread Matt Wynne
On 16 Mar 2009, at 23:35, Erik Pukinskis wrote: Dear Rspecucumberatubyists, I have a Rails app that creates subdomains, and I'd like to verify them in a cucumber feature like so: When I visit http://blingo.myapp.com Then I should see "Welcome to blingo!" The trouble is, webrat's visit meth

Re: [rspec-users] [Webrat][RSpec] Features opening browser windows

2009-03-17 Thread Bart Zonneveld
On 17-mrt-2009, at 11:07, Andrew Premdas wrote: Apologies for previous message without proper subject Since upgrading rspec to 1.2 I am seeing behavior that a web browser is being opened when there is a problem in a page that a feature visits. Is this behavior intentional and if so can I

Re: [rspec-users] Spec'ing chained calls

2009-03-17 Thread Levy Carneiro Jr.
Thanks for your examples, Chris! regards, Levy On Fri, Mar 13, 2009 at 11:25 AM, Chris Flipse wrote: > You might want to look into using a null object, and breaking that first > spec up into several examples > (a null object returns itself when sent a message it doesn't know how to > handle) >

[rspec-users] [Webrat][RSpec] Features opening browser windows

2009-03-17 Thread Andrew Premdas
Apologies for previous message without proper subject Since upgrading rspec to 1.2 I am seeing behavior that a web browser is being opened when there is a problem in a page that a feature visits. Is this behavior intentional and if so can I turn it off. Having thirty browser windows open up when

[rspec-users] [Webrat][RSpec]

2009-03-17 Thread Andrew Premdas
Hi All, Since upgrading rspec to 1.2 I am seeing behavior that a web browser is being opened when there is a problem in a page that a feature visits. Is this behavior intentional and if so can I turn it off. Having thirty browser windows open up when I introduce an error that breaks alot of featur