Re: [rspec-users] issue with running of following code

2012-03-20 Thread Ankita
the error I got when I run the script using rspec file_name_spec.rb when I used to run using ruby file_name_spec.rb it was fine On Mar 21, 11:58 am, Ankita wrote: > It does work  by running with  rspec file_name_spec.rb. Thanks for > that! > > There is another issue, I wrote my tests in wat

Re: [rspec-users] issue with running of following code

2012-03-20 Thread Ankita
It does work by running with rspec file_name_spec.rb. Thanks for that! There is another issue, I wrote my tests in watir and there is following command which use to run pretty well with Watir but now it gives error of undefined method 'confirm' $b.confirm(true) do $b.button(:value,"reload

Re: [rspec-users] issue with running of following code

2012-03-20 Thread Zach Dennis
On Tue, Mar 20, 2012 at 6:45 PM, Ankita wrote: > I am running by going into specific file folder on command prompt and > writing ruby file_name.rb to run it... You'll see less headache if use the "rspec" command instead of ruby to run your specs: rspec file_name_spec.rb Or, is there a reason

Re: [rspec-users] issue with running of following code

2012-03-20 Thread Ankita
I am running by going into specific file folder on command prompt and writing ruby file_name.rb to run it... On Mar 20, 10:01 pm, David Chelimsky wrote: > On Mon, Mar 19, 2012 at 11:53 PM, Ankita wrote: > > I am trying to run following file, it does nothing and even does not > > give any error m

Re: [rspec-users] issue with running of following code

2012-03-20 Thread David Chelimsky
On Mon, Mar 19, 2012 at 11:53 PM, Ankita wrote: > I am trying to run following file, it does nothing and even does not > give any error message.. not sure what is the problem. How are you running it? > require "rubygems" > require 'watir-webdriver' > require "rspec" > > > describe "ASP TEST Suit