nimbleshop_stripe 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/test/test_helper.rb +3 -3
- metadata +4 -4
data/test/test_helper.rb
CHANGED
@@ -2,12 +2,12 @@ require 'bundler'
|
|
2
2
|
Bundler.setup(:test)
|
3
3
|
|
4
4
|
ENV["RAILS_ENV"] = "test"
|
5
|
-
require File.expand_path("
|
5
|
+
require File.expand_path("../../../nimbleshop_core/test/myshop/config/environment.rb", __FILE__)
|
6
6
|
require 'rails/test_help'
|
7
7
|
require 'active_record/fixtures'
|
8
8
|
|
9
9
|
require 'factory_girl'
|
10
|
-
Dir["#{File.dirname(__FILE__)}
|
10
|
+
Dir["#{File.dirname(__FILE__)}/../../nimbleshop_core/test/factories/**"].each { |f| require File.expand_path(f) }
|
11
11
|
|
12
12
|
VCR.configure do | c |
|
13
13
|
c.ignore_hosts '127.0.0.1', 'localhost'
|
@@ -20,7 +20,7 @@ class ActiveSupport::TestCase
|
|
20
20
|
self.use_transactional_fixtures = false
|
21
21
|
setup do
|
22
22
|
DatabaseCleaner.start
|
23
|
-
ActiveRecord::Fixtures.create_fixtures("#{File.dirname(__FILE__)}
|
23
|
+
ActiveRecord::Fixtures.create_fixtures("#{File.dirname(__FILE__)}/../../nimbleshop_core/test/fixtures", ['shops', 'link_groups', 'payment_methods'])
|
24
24
|
end
|
25
25
|
teardown do
|
26
26
|
DatabaseCleaner.clean
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nimbleshop_stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-12-
|
13
|
+
date: 2012-12-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: stripe
|
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
version: '0'
|
79
79
|
segments:
|
80
80
|
- 0
|
81
|
-
hash:
|
81
|
+
hash: -3430680606218675071
|
82
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
87
|
version: '0'
|
88
88
|
segments:
|
89
89
|
- 0
|
90
|
-
hash:
|
90
|
+
hash: -3430680606218675071
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
93
|
rubygems_version: 1.8.24
|