[rspec-users] what does 'these' mean in a PUT controller spec?

2012-01-16 Thread Gordon
hi, all, the spec above is found in my controller spec for a 'category' resource. It's a generated spec. - start extract describe "PUT update" do describe "with valid params" do it "updates the requested category" do catego

Re: [rspec-users] what does 'these' mean in a PUT controller spec?

2012-01-16 Thread David Chelimsky
On Jan 16, 2012, at 4:59 AM, Gordon wrote: > hi, all, > > the spec above is found in my controller spec for a 'category' > resource. > > It's a generated spec. > > - start extract > describe "PUT update" do >describe "with valid params" do

[rspec-users] rspec and requests, and folders conventions

2012-01-16 Thread S Ahmed
I'm trying to run rspec requests, using jruby, and I set the defaults in a env.rb file, but it doesn't seem to be loaded when I run the specs. My folder setup is: /spec/requests/ /spec/requests/section/section_spec.rb /spec/support/env.rb (where I configured selenium as the driver etc.) I also

Re: [rspec-users] rspec and requests, and folders conventions

2012-01-16 Thread David Chelimsky
On Jan 16, 2012, at 9:16 AM, S Ahmed wrote: > I'm trying to run rspec requests, using jruby, and I set the defaults in a > env.rb file, but it doesn't seem to be loaded when I run the specs. > > My folder setup is: > > /spec/requests/ > /spec/requests/section/section_spec.rb > /spec/support/env

[rspec-users] rspec output on windows

2012-01-16 Thread Thomas Krebs
I have rails 3.1.3 and rspec 2.8.0 on windows 7 (32bit) installed. When running rspec I receive the following output: ←[32m.←[0m←[32m.←[0m Finished in 0.33 seconds ←[32m2 examples, 0 failures←[0m I have no glue how to get rid of the "special characters". Since I am new to rails I appreciate any

Re: [rspec-users] rspec output on windows

2012-01-16 Thread Luis Lavena
On Mon, Jan 16, 2012 at 5:41 PM, Thomas Krebs wrote: > I have rails 3.1.3 and rspec 2.8.0 on windows 7 (32bit) installed. > When running rspec I receive the following output: > > ←[32m.←[0m←[32m.←[0m > > Finished in 0.33 seconds > ←[32m2 examples, 0 failures←[0m > > I have no glue how to get rid o

Re: [rspec-users] rspec output on windows

2012-01-16 Thread Thomas Krebs
thanks - that worked! -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] Controller specs and default_url_options

2012-01-16 Thread Titinux
Hello, I'm using Rails 3.1.3 with rspec-rails 2.8.1. I have a scope ':locale' in routes.rb and I want to run controller and routing specs. I'm aware of the problem with setting default_url_options in application.rb controller so I apply the solution found in the last comment on rspec issue #255 (

Re: [rspec-users] Controller specs and default_url_options

2012-01-16 Thread David Chelimsky
On Jan 16, 2012, at 5:17 PM, Titinux wrote: > Hello, > > I'm using Rails 3.1.3 with rspec-rails 2.8.1. I have a scope ':locale' > in routes.rb and I want to run controller and routing > specs. I'm aware of the problem with setting default_url_options in > application.rb controller so I apply the

[rspec-users] does jruby rspec have to use selenium?

2012-01-16 Thread S Ahmed
With jruby and rspec requests, do you have to use selenium webdriver? I'm confused, with ruby and rubyonrails using cucumber with capybara, I didn't have to set the default driver, what was it using and can i use that with jruby? Things just worked w/o me even having to know about it :) _

Re: [rspec-users] does jruby rspec have to use selenium?

2012-01-16 Thread Justin Ko
On Jan 16, 2012, at 7:35 PM, S Ahmed wrote: > With jruby and rspec requests, do you have to use selenium webdriver? > > I'm confused, with ruby and rubyonrails using cucumber with capybara, I > didn't have to set the default driver, what was it using and can i use that > with jruby? Things ju

Re: [rspec-users] does jruby rspec have to use selenium?

2012-01-16 Thread S Ahmed
I'm using jruby and with a java app, so after reading it is clear I can only use selenium since it is not a rack app. selenium is very very slow, sheesh! I was hoping there was a better way. It keeps the firefox browser open also, which is strange (after it completes running). On Mon, Jan 16, 2