On Dec 10, 2010, at 6:14 AM, medihack wrote:
> Hello.
>
> Is it possible to also use the transactional examples feature for gem
> (not Rails) development.
Nope. That feature is not implemented in RSpec, it is implemented in Rails.
RSpec just provides access to it.
> It seems that one has to re
Hello.
Is it possible to also use the transactional examples feature for gem
(not Rails) development. It seems that one has to require "rspec-
rails", but I still can't get it to work.
I added this to my spec_helper.rb:
RSpec.configure do |config|
config.use_transactional_fixtures = true
end
A