sinsiliux-hornsby 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hornsby.rb +2 -2
  2. metadata +1 -1
data/lib/hornsby.rb CHANGED
@@ -26,8 +26,8 @@ class Hornsby
26
26
  config.include(HornsbySpecHelper)
27
27
 
28
28
  config.before do
29
- @@context = @@global_context.clone
30
- @@executed_scenarios = Set.new(@@global_executed_scenarios)
29
+ Hornsby.send(:class_variable_set, '@@context', Hornsby.send(:class_variable_get, '@@global_context').clone)
30
+ Hornsby.send(:class_variable_set, '@@executed_scenarios', Set.new(Hornsby.send(:class_variable_get, '@@global_executed_scenarios')))
31
31
  Hornsby.copy_ivars(self, true)
32
32
  ActiveRecord::Base.connection.increment_open_transactions
33
33
  ActiveRecord::Base.connection.transaction_joinable = false
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinsiliux-hornsby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrius Chamentauskas