scenariotest 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/scenariotest.rb CHANGED
@@ -3,7 +3,7 @@ require 'scenariotest/log_subscriber'
3
3
  require 'digest'
4
4
 
5
5
  module Scenariotest
6
- VERSION = "0.1.0"
6
+ VERSION = "0.1.1"
7
7
  class Scenario
8
8
  class Defination
9
9
  attr_accessor :name, :sha1, :options, :main_blk, :after_blk, :scenario_klass
@@ -160,7 +160,7 @@ module Scenariotest
160
160
 
161
161
  objs_identity_map = {}
162
162
  klass_ids_map.each do |klass, ids|
163
- klass.constantize.find(ids).each do |obj|
163
+ klass.constantize.unscoped.find(ids).each do |obj|
164
164
  objs_identity_map["#{klass}_#{obj.id}"] = obj
165
165
  end
166
166
  end
data/scenariotest.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
 
10
10
  s.name = "scenariotest"
11
- s.version = "0.1.0"
11
+ s.version = "0.1.1"
12
12
  s.date = "2012-02-07"
13
13
 
14
14
  s.authors = ["Felix Sun"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenariotest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: