i am working in Rspec of ROR.. I am trying to test my controllers using RSpec.i am having a Users controller with functions like new , tags, etc..
I wonder what imperative vs declarative steps in Rspec is all about. Here is an example code from the Rspec book:
I am currently running ruby-1.9.1 installed via RVM. I have been looking at using Merb, but when I try and run it I get this error:
I\'m having a problem testing the following model: class Bill < ActiveRecord::Base belongs_to :consignee
I have this spec: it \'can parse armies with only section headers\' do list = <<-LIST :Core :Special
n the .net world, my specs would follow the Arrange, Act, Assert pattern.I\'m having trouble replicating that in rspec, because there doesn\'t appear to be an ability to selectively verify your mocks
I installed RSpec 2 along RSpec 1.3 and since then I think the spec command runs without executing the test file.
I can run a single rspec example with spec -e \'should be awesome\' spec/models/stuff_spec.rb but how do I run an e开发者_开发知识库ntire group ?
So, whenever I run \"rake spec\" in my application directory, I see this: admin@nurvus:~/workspace/spec $ rake spec
I am using delayed_job for background tasks such as system e-mails and different timed events.I use Delayed::Worker.new.work_off to work off the events 开发者_如何学Cin my RSpec tests, but then the te