Thank you Pat Maddox,Douglas Adams,Luis Lavena,Scott Taylor for your
kind help.
I have installed the plugins rspec and rspec-rails using git.
I was not running the spec controller from the root thats the main
problem.
I followed all of your useful suggestions and able to build and run a
proj
On Sat, Oct 11, 2008 at 10:16 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 11, 2008 at 7:59 AM, Mano ah <[EMAIL PROTECTED]> wrote:
>>
>> I followed the below ways of installation
>>
>>
>> gem install rake
>> gem install rails
>> gem install rspec
>> gem install rspec-rails
>>
>> rails m
On Sat, Oct 11, 2008 at 7:59 AM, Mano ah <[EMAIL PROTECTED]> wrote:
>
> I followed the below ways of installation
>
>
> gem install rake
> gem install rails
> gem install rspec
> gem install rspec-rails
>
> rails my-test-app
> cd my-test-app
> ruby script/generate rspec
>
>
> When i used
>
> 'rake
I followed the below ways of installation
gem install rake
gem install rails
gem install rspec
gem install rspec-rails
rails my-test-app
cd my-test-app
ruby script/generate rspec
When i used
'rake spec'
i received no error.
After that I created a controller
then installed the two plugin
Dude, post your code
On 10/10/08, Mano ah <[EMAIL PROTECTED]> wrote:
> my gem list is
>
>
>
> actionmailer (2.1.1, 1.3.3)
> actionpack (2.1.1, 1.13.3)
> actionwebservice (1.2.3)
> activerecord (2.1.1, 1.15.3)
> activeresource (2.1.1)
> activesupport (2.1.1, 1.4.2)
> fxri (0.3.6)
> fxruby (1.6.12)
my gem list is
actionmailer (2.1.1, 1.3.3)
actionpack (2.1.1, 1.13.3)
actionwebservice (1.2.3)
activerecord (2.1.1, 1.15.3)
activeresource (2.1.1)
activesupport (2.1.1, 1.4.2)
fxri (0.3.6)
fxruby (1.6.12)
hoe (1.7.0)
hpricot (0.6)
log4r (1.0.5)
rails (1.2.3)
rake (0.8.3)
rspec (1.1.8, 0.5.15)
rs
Luis Lavena wrote:
> On Fri, Oct 10, 2008 at 3:56 AM, Mano ah <[EMAIL PROTECTED]> wrote:
>> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:28:in `ge
>>
>> describe SandboxController,"handling someaction" do
>>
>>@value = somemethod
>>
>> end
>>
>> end
>>
>> Please help me to solve t
On Fri, Oct 10, 2008 at 3:56 AM, Mano ah <[EMAIL PROTECTED]> wrote:
>
>
> When i run a spec file i am getting the following error
>
> D:\Diwakar\spec_diwa\spec\controllers>spec sandbox_controller_spec.rb
> c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.5.15/lib/spec/api/sugar.rb:17:in
> `method_
> missing
Scott Taylor wrote:
> On Oct 11, 2008, at 12:42 AM, Mano ah wrote:
>
>> 2.1.1
> Why don't you post your spec? It would be a lot easier to help if we
> could look at the same thing you were looking at.
>
> Scott
sorry spec?
--
Posted via http://www.ruby-forum.com/.
___
On Oct 11, 2008, at 12:42 AM, Mano ah wrote:
rails 2.1.1 and rspec 1.1.8 never worked out for me
So i downgraded rails to 1.2.3.
while execiting ruby /script/generate rspec_controller MyController
it ask rails version 2.1.1.
i was getting the describe method error as mention earlier in usi
rails 2.1.1 and rspec 1.1.8 never worked out for me
So i downgraded rails to 1.2.3.
while execiting ruby /script/generate rspec_controller MyController
it ask rails version 2.1.1.
i was getting the describe method error as mention earlier in using
2.1.1
--
Posted via http://www.ruby-forum.
On Oct 10, 2008, at 11:50 PM, Mano ah wrote:
How to solve the below error
1)
NoMethodError in 'LoginController index should get successfully'
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.status
./login_controller_spec.rb:9:
2)
NoMethodError in 'Logi
On Oct 10, 2008, at 11:50 PM, Mano ah wrote:
How to solve the below error
1)
NoMethodError in 'LoginController index should get successfully'
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.status
./login_controller_spec.rb:9:
2)
NoMethodError in 'Logi
How to solve the below error
1)
NoMethodError in 'LoginController index should get successfully'
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.status
./login_controller_spec.rb:9:
2)
NoMethodError in 'LoginController index should render 202 file'
undefin
Dear Scott,
I am new to rspec and i am confused to test using it.
Can you please help me with an easy example or link to get clear
about it
Regards
M
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.o
On Oct 10, 2008, at 2:56 AM, Mano ah wrote:
When i run a spec file i am getting the following error
D:\Diwakar\spec_diwa\spec\controllers>spec sandbox_controller_spec.rb
c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.5.15/lib/spec/api/sugar.rb:
17:in
`method_
missing': undefined method `describe
When i run a spec file i am getting the following error
D:\Diwakar\spec_diwa\spec\controllers>spec sandbox_controller_spec.rb
c:/ruby/lib/ruby/gems/1.8/gems/rspec-0.5.15/lib/spec/api/sugar.rb:17:in
`method_
missing': undefined method `describe' for main:Object (NoMethodError)
from ./sa
17 matches
Mail list logo