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
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.
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 type
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 rspec
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:
root# gem
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
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 way
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
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
not
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
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:
==
before
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 :action = new
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 through the
13 matches
Mail list logo