[rspec-users] Webrat and submitting a form using an image

2008-10-04 Thread Fernando Perez
Webrat doesn't seem to be able to handle the submit of a form through an image input. How do you handle that? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org

[rspec-users] Newbie's question about generated features by cucumber in Rails

2008-10-04 Thread Lian Liming
Hi all, I am new to rspec and trying to use cucumber to learn writingfeatures. I follow the wiki page http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails to start my first feature. The command ruby script/generate feature Frooble name color description generates a file

Re: [rspec-users] Newbie's question about generated features by cucumber in Rails

2008-10-04 Thread aslak hellesoy
On Sat, Oct 4, 2008 at 6:22 PM, Lian Liming [EMAIL PROTECTED] wrote: Hi all, I am new to rspec and trying to use cucumber to learn writingfeatures. I follow the wiki page http://github.com/aslakhellesoy/cucumber/wikis/ruby-on-rails to start my first feature. The command ruby

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread Fernando Perez
How do you go plugin-less for RSpec? The plugins require you to generate some files, so how do you do that without a plugin? Is there still a rake task in the gem to generate the required files? -- Posted via http://www.ruby-forum.com/. ___

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 11:54 AM, Fernando Perez [EMAIL PROTECTED] wrote: How do you go plugin-less for RSpec? The plugins require you to generate some files, so how do you do that without a plugin? Is there still a rake task in the gem to generate the required files? I'll post this up on the

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread Fernando Perez
Cool. However what happens when my app is currently using the plugin version, is it easy to migrate to the gem? Should I regenerate the files? I guess there is somewhere a line that says to rspec look into vendor/plugins? -- Posted via http://www.ruby-forum.com/.

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 12:01 PM, Fernando Perez [EMAIL PROTECTED] wrote: Cool. However what happens when my app is currently using the plugin version, is it easy to migrate to the gem? Should I regenerate the files? I guess there is somewhere a line that says to rspec look into

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread Luis Lavena
On Sat, Oct 4, 2008 at 2:58 PM, David Chelimsky [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 11:54 AM, Fernando Perez [EMAIL PROTECTED] wrote: How do you go plugin-less for RSpec? The plugins require you to generate some files, so how do you do that without a plugin? Is there still a rake

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 1:06 PM, Luis Lavena [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 2:58 PM, David Chelimsky [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 11:54 AM, Fernando Perez [EMAIL PROTECTED] wrote: How do you go plugin-less for RSpec? The plugins require you to generate some

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 1:38 PM, David Chelimsky [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 1:06 PM, Luis Lavena [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 2:58 PM, David Chelimsky [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 11:54 AM, Fernando Perez [EMAIL PROTECTED] wrote: How do

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread Luis Lavena
On Sat, Oct 4, 2008 at 4:41 PM, David Chelimsky [EMAIL PROTECTED] wrote: ... Also - the script files prepend vendor/plugins/rspec/lib to the path, but if they are not there, there shouldn't be a problem. That just ensures that if you DO have the plugin installed it takes precedence over the

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 1:43 PM, Luis Lavena [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 4:41 PM, David Chelimsky [EMAIL PROTECTED] wrote: ... Also - the script files prepend vendor/plugins/rspec/lib to the path, but if they are not there, there shouldn't be a problem. That just ensures

[rspec-users] problem running cucumber

2008-10-04 Thread Joe Van Dyk
When I run 'rake features', this is the output I get: /usr/local/bin/ruby -I /home/joe/projects/voxy/vendor/plugins/cucumber/lib /home/joe/projects/voxy/vendor/plugins/cucumber/bin/cucumber --format pretty --require features/steps/env.rb --require features/steps/request_steps.rb --require

Re: [rspec-users] problem running cucumber

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 6:05 PM, Joe Van Dyk [EMAIL PROTECTED] wrote: When I run 'rake features', this is the output I get: /usr/local/bin/ruby -I /home/joe/projects/voxy/vendor/plugins/cucumber/lib /home/joe/projects/voxy/vendor/plugins/cucumber/bin/cucumber --format pretty --require

Re: [rspec-users] problem running cucumber

2008-10-04 Thread David Chelimsky
On Sat, Oct 4, 2008 at 8:41 PM, David Chelimsky [EMAIL PROTECTED] wrote: On Sat, Oct 4, 2008 at 6:05 PM, Joe Van Dyk [EMAIL PROTECTED] wrote: When I run 'rake features', this is the output I get: /usr/local/bin/ruby -I /home/joe/projects/voxy/vendor/plugins/cucumber/lib

Re: [rspec-users] Webrat and submitting a form using an image

2008-10-04 Thread Luke Melia
On Oct 4, 2008, at 12:09 PM, Fernando Perez wrote: Webrat doesn't seem to be able to handle the submit of a form through an image input. Fernando, this should work, at least in trunk webrat. For example, see the specs near: