[rspec-users] undefined method `blueprint' with rspec/machinist/faker

2009-06-23 Thread Yoann-Z
Hi, I just started using Machinist for my project. So I successfully installed notahat-machinist and faker gems and as soon as I run a spec I get the following error : /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:1964:in `method_missing': undefined method `blueprint'

Re: [rspec-users] spec_server is dead! Long live spork!

2009-06-23 Thread Brian Takita
Huhzah! On Tue, Jun 23, 2009 at 5:15 PM, David Chelimsky wrote: > Hey all, > > Just a heads up that the rspec-rails-1.2.7.1 release deprecates > spec_server in favor of Tim Harper's spork gem. > >  http://github.com/timcharper/spork > > I've already removed spec_server from the rspec-rails git rep

[rspec-users] spec_server is dead! Long live spork!

2009-06-23 Thread David Chelimsky
Hey all, Just a heads up that the rspec-rails-1.2.7.1 release deprecates spec_server in favor of Tim Harper's spork gem. http://github.com/timcharper/spork I've already removed spec_server from the rspec-rails git repo, so it will no longer be part of the rspec-rails gem beginning with the nex

Re: [rspec-users] html::document errors

2009-06-23 Thread Joe Van Dyk
Oh, latest version of rspec and rspec-rails installed as a plugin. On Tue, Jun 23, 2009 at 3:15 PM, Joe Van Dyk wrote: >    And Joe should see a radio button representing the answer 'OJ' >  # features/step_definitions/trat_steps.rb:111 >      uninitialized constant HTML::Document (NameError) >    

[rspec-users] html::document errors

2009-06-23 Thread Joe Van Dyk
And Joe should see a radio button representing the answer 'OJ' # features/step_definitions/trat_steps.rb:111 uninitialized constant HTML::Document (NameError) /home/joe/projects/cisv/vendor/plugins/rspec/lib/spec/matchers/method_missing.rb:6:in `method_missing' /home/joe/pr

Re: [rspec-users] Spec'ing the result of rescue_from

2009-06-23 Thread PJ Kelly
Hi David, thanks for the speedy response yesterday. Much appreciated. On Jun 22, 3:43 pm, David Chelimsky wrote: > What's the failure message? 'MembersController GET process_step_2 should redirect to step_2' FAILED expected redirect to "http://test.host/application/step_2";, got no redirect I

Re: [rspec-users] Asynchronous requests (effectively in multiple browser windows)

2009-06-23 Thread David Chelimsky
On Tue, Jun 23, 2009 at 10:24 AM, mBread wrote: > > Hi. I'm using cucumber on a rails app along with rspec & webrat. Is there any > way in cucumber to write scenarios that would use more than one window in an > equivalent manual test? > > I am wanting to write a feature scenario for this manual tes

[rspec-users] Asynchronous requests (effectively in multiple browser windows)

2009-06-23 Thread mBread
Hi. I'm using cucumber on a rails app along with rspec & webrat. Is there any way in cucumber to write scenarios that would use more than one window in an equivalent manual test? I am wanting to write a feature scenario for this manual test: log in, load up a form that it only visible to logged i

Re: [rspec-users] [Cucumber][Webrat] Using LinkLocator in cucumber step definitions

2009-06-23 Thread Ben Lovell
On Tue, Jun 23, 2009 at 5:00 PM, mBread wrote: > I am wanting to specify "Then I should not see a "New item" link" in a > cucumber scenario. Is it possible to use Webrat::Locators.find_link (as used > in click_link) in a cucumber step definition? Or is there some reason why I > shouldn't assert t

[rspec-users] [Cucumber][Webrat] Using LinkLocator in cucumber step definitions

2009-06-23 Thread mBread
I am wanting to specify "Then I should not see a "New item" link" in a cucumber scenario. Is it possible to use Webrat::Locators.find_link (as used in click_link) in a cucumber step definition? Or is there some reason why I shouldn't assert the absence of a link? I could just use response.should_

Re: [rspec-users] any idea why spec_server gets 'cannot remove Object' error?

2009-06-23 Thread Tom Hoen
David - Thank you for responding. > > Previously to what? What changed? > The only changes were some additional models/controllers and specs for both, and I installed and used (in one of the models) open_ssl. My plan it to revert until I find a point at which things start to work again, u

Re: [rspec-users] any idea why spec_server gets 'cannot remove Object' error?

2009-06-23 Thread David Chelimsky
On Tue, Jun 23, 2009 at 4:12 AM, Tom Hoen wrote: > I am sure better minds than mine can figure this out, but I am stumped. > > When I run any spec using spec_server, a get 0 failures and the command > prompt returns without issue. > > If I run the same spec again, I still get 0 failures, but it con

[rspec-users] any idea why spec_server gets 'cannot remove Object' error?

2009-06-23 Thread Tom Hoen
I am sure better minds than mine can figure this out, but I am stumped. When I run any spec using spec_server, a get 0 failures and the command prompt returns without issue. If I run the same spec again, I still get 0 failures, but it concludes with the following error: (druby://127.0.0.1:8989)