Sometimes I need a spec that tests something which can’t work inside a
transaction. Is it possible to disable transactional fixtures for one
spec?
I tried:
describe “MyClass without transactional fixtures” do
before(:all) do
Spec::Runner.configure { |config|
config.use_transactional_fixtures = false }
end
after(:all) do
Spec::Runner.configure { |config|
config.use_transactional_fixtures = true }
end
end
… but that doesn’t work.
Thanks,
Paul