David Chelimsky wrote:
> On Wed, May 20, 2009 at 2:47 AM, Amit Kulkarni
> wrote:
It is not the case that i will always run spec from the root project.So
>> Thank a lot.
>> But is the case that all controller specs are run from the root
>> directory.
>> I had had written spec models and it ru
On Wed, May 20, 2009 at 2:47 AM, Amit Kulkarni wrote:
> David Chelimsky wrote:
>> On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni
>> wrote:
> script/spec spec/controllers/channels_controller_spec1.rb
Hey It worked thanks a lot. :-)
Can you tell me the difference why it was
David Chelimsky wrote:
> On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni
> wrote:
script/spec spec/controllers/channels_controller_spec1.rb
>>>
>>> Hey It worked thanks a lot. :-)
>>>
>>> Can you tell me the difference why it was not running earlier and now it
>>> is running.Just for my under
On Wed, May 20, 2009 at 1:47 AM, Amit Kulkarni wrote:
> Amit Kulkarni wrote:
>> David Chelimsky wrote:
>>> On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni
>>> wrote:
but i am getting the same error which says RuntimeError in
Files/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_
David Chelimsky wrote:
> On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni
> wrote:
>> but i am getting the same error which says RuntimeError in
>> Files/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_control
>> ./channels_controller_spec1.rb:149:
> It looks like you're calling the file f
Amit Kulkarni wrote:
> David Chelimsky wrote:
>> On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni
>> wrote:
>>> but i am getting the same error which says RuntimeError in
>>> Files/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_control
>>> ./channels_controller_spec1.rb:149:
>> It looks l
On Tue, May 19, 2009 at 9:04 AM, Amit Kulkarni wrote:
> Hi,
>
> Thanks for quick response
>
> My channels_controller_spec.rb file is inside controller spec only
> i.e. PROJECT_ROOT/spec/controllers/channels_controller_spec.rb.
>
> As per your suggestion i removed the setup method and moved
> user_
Hi,
Thanks for quick response
My channels_controller_spec.rb file is inside controller spec only
i.e. PROJECT_ROOT/spec/controllers/channels_controller_spec.rb.
As per your suggestion i removed the setup method and moved
user_attributes under example groups.
but i am getting the same error whi
On Tue, May 19, 2009 at 3:30 AM, Amit Kulkarni wrote:
> Ruby version : 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
> rspec - 1.2.4
> rails - 2.1.2
> OS - Vista Home
> I am running a single file by the command
> spec channels_controller(filename)_spec.rb
Where is this file? For rspec-rails to k
Ruby version : 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
rspec - 1.2.4
rails - 2.1.2
OS - Vista Home
I am running a single file by the command
spec channels_controller(filename)_spec.rb
Contents of the file:
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
def setup
@c
On Fri, May 8, 2009 at 4:03 AM, Amit Kulkarni wrote:
> Hello,
>
> I am trying to execute controller spec but it gives me error which
> says
>
> @controller is nil: make sure you set it in your test's setup
> method.
>
> I tried to search for the solution but till now no success :(
>
> Foll
Hello,
I am trying to execute controller spec but it gives me error which
says
@controller is nil: make sure you set it in your test's setup
method.
I tried to search for the solution but till now no success :(
Following is the description of the controller spec.
describe ChannelCate
12 matches
Mail list logo