Open lenart opened 13 years ago
Same problem.
I fixed that by adding :require => 'spec'
to rspec line of Gemfile
gem 'rspec', '1.3.1', :require => 'spec'
I think the ultimate cause is: https://github.com/bmabey/email-spec/issues/#issue/43
The same problem, :require => 'spec'
helped... Thanks!
I'm trying to setup email_spec to work with spork and rspec. I added
require "email_spec"
to spec_helper.rb and include helpers and matchersconfig.include(EmailSpec::Helpers) config.include(EmailSpec::Matchers)
. When I run specs withbundle exec spec spec/models
everything works as expected. However when I runbundle exec spork
it fails to start withuninitialized constant EmailSpec::Matchers::Spec
.Any ideas?
My versions: