should_pricot 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/should_pricot.rb +1 -1
- data/test/test_helper.rb +6 -3
- metadata +3 -3
data/lib/should_pricot.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -3,10 +3,13 @@ require 'active_support'
|
|
3
3
|
require 'active_support/test_case'
|
4
4
|
require 'test/unit'
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
Rails.env = 'test'
|
7
|
+
Rails.root ||= File.dirname(__FILE__) + '/../../../..'
|
8
8
|
|
9
|
-
|
9
|
+
# ENV['RAILS_ENV'] = 'test'
|
10
|
+
# ENV['RAILS_ROOT'] ||= File.dirname(__FILE__) + '/../../../..'
|
11
|
+
|
12
|
+
require File.expand_path(File.join(Rails.root, 'config/environment.rb'))
|
10
13
|
|
11
14
|
ActiveRecord::Base.logger = Logger.new(File.dirname(__FILE__) + "/debug.log")
|
12
15
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: should_pricot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
-
|
7
|
+
- 3
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
version:
|
10
|
+
version: 3.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brent Greeff
|