[rspec-users] RSpec is missing gems even though they are installed

2011-03-11 Thread Rails Learner
Hi Folks, I am getting an error when trying to run my examples in RSpec: Command: spec spec Error: Missing these required gems: rspec-rails >= 1.2.2 cucumber >= 0.2.2 You're running: ruby 1.8.7.334 at /Users/auser/.rvm/rubies/ruby-1.8.7-p334/bin/ruby rubygems 1.6.2 at /Users/auser/.rv

Re: [rspec-users] unless filter

2011-03-11 Thread Justin Ko
On Thu, Mar 10, 2011 at 2:32 AM, Shamaoke wrote: > Hi. > > Why doesn't the following filter work? > > ~~~ > # encoding: utf-8 > # ./example_spec.rb > > RSpec.configure do |config| > config.filter = { >unless: :condition_acceptable > } > end > > describe 'some code' do > it 'does one', if:

[rspec-users] RCov

2011-03-11 Thread James OBrien
I'm using Rake to run my specs e.g. task :test do Rake::Task['spec'].execute end how can I aspect this to include some sort of coverage report - RCov maybe? Of course, I could just escape to the command line with something like system('rcov rspec ') but I prefer to solve this programaticaly si

Re: [rspec-users] RCov

2011-03-11 Thread Justin Ko
On Fri, Mar 11, 2011 at 2:55 PM, James OBrien wrote: > I'm using Rake to run my specs e.g. > > task :test do > Rake::Task['spec'].execute > end > > how can I aspect this to include some sort of coverage report - RCov maybe? > > Of course, I could just escape to the command line with something l