On Jul 29, 2010, at 6:37 AM, Amit Jain wrote:
> David Chelimsky wrote:
>> On Jul 29, 2010, at 5:19 AM, Amit Jain wrote:
>>> Hello,
>>> I recently unpacked the latest rspec and rspec rails in my
>>> applicaiton.
>>
>> How did you unpack them (what command did you use)?
> I just install rspec gem
On Jul 29, 2010, at 8:37 AM, Anderson Leite wrote:
> I have an action and I am testing it like this:
>
> The action:
> ==
> def create
>@event = Evento.new(params[:event])
>@event.aproved = false
>if @event.save
> redirect_to :action => "index"
>else
> render :a
I have an action and I am testing it like this:
The action:
==
def create
@event = Evento.new(params[:event])
@event.aproved = false
if @event.save
redirect_to :action => "index"
else
render :action => "new"
end
end
The RSpec test:
==
be
On Jul 29, 2010, at 7:46 AM, Zhenning Guan wrote:
> class A
> def process
> @b.calculate
> end
> end
>
>
> it 'should change b calculate value' do
> @b.should_receive(:calculate)
> @a.process
>
> @b.calculae_value.should == 'after_calculae'
> end
>
> it will fail, if I comment out #...@b.s
On Jul 27, 2010, at 7:29 AM, Rainer Kuhn wrote:
> Consider putting out some information on rake spec, when rspec ist
> only defined in the :test group.
> This just cost me an hour until I read the blog post explaining it.
>
> Thing is, rake spec doesn't show on "rake -T" but it runs fine, just
>
On Jul 27, 2010, at 1:45 AM, Mislav Marohnić wrote:
> When you install the rspec-rails stack, the rspec gem post-install messages
> take more than 60 lines in total. Most of those messages are something
> uninformative like "thank you for installing the rspec-blah". Um, OK. You're
> welcome, I
When you install the rspec-rails stack, the rspec gem post-install messages
take more than 60 lines in total. Most of those messages are something
uninformative like "thank you for installing the rspec-blah". Um, OK. You're
welcome, I guess?
http://pastie.org/1061716
The rspec-rails message is wa
Consider putting out some information on rake spec, when rspec ist
only defined in the :test group.
This just cost me an hour until I read the blog post explaining it.
Thing is, rake spec doesn't show on "rake -T" but it runs fine, just
not doing anything.
One line of output, like:
"Either use RA
class A
def process
@b.calculate
end
end
it 'should change b calculate value' do
@b.should_receive(:calculate)
@a.process
@b.calculae_value.should == 'after_calculae'
end
it will fail, if I comment out #...@b.should_receive(:calculate), the test
pass,
or if comment out #...@b.calculae_v
Amit Jain wrote:
> David Chelimsky wrote:
>> On Jul 29, 2010, at 5:19 AM, Amit Jain wrote:
>>> Hello,
>>> I recently unpacked the latest rspec and rspec rails in my
>>> applicaiton.
>>
>> How did you unpack them (what command did you use)?
> I just install rspec gem through the commands:
>
David Chelimsky wrote:
> On Jul 29, 2010, at 5:19 AM, Amit Jain wrote:
>> Hello,
>> I recently unpacked the latest rspec and rspec rails in my
>> applicaiton.
>
> How did you unpack them (what command did you use)?
I just install rspec gem through the commands:
root# gem install rspe
On Jul 29, 2010, at 5:19 AM, Amit Jain wrote:
> Hello,
> I recently unpacked the latest rspec and rspec rails in my
> applicaiton.
How did you unpack them (what command did you use)?
> When I run my specs I get:
>
> $ rcov user_spec.rb
Where are you typing this command? What happens when you ty
Hi All,
I am getting such types of errors with rspec implementation.
$ rcov user_spec.rb
config.gem: Unpacked gem CVS in vendor/gems has no specification file.
Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem CVS in vendor/gems not in a versioned
directory. Giving up.
config.ge
Hello,
I recently unpacked the latest rspec and rspec rails in my
applicaiton.
When I run my specs I get:
$ rcov user_spec.rb
config.gem: Unpacked gem CVS in vendor/gems has no specification file.
Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem CVS in vendor/gems not in a vers
14 matches
Mail list logo