nimbleshop_authorizedotnet 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 +5 -5
- 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,9 +20,9 @@ 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__)}
|
24
|
-
|
25
|
-
|
23
|
+
ActiveRecord::Fixtures.create_fixtures("#{File.dirname(__FILE__)}/../../nimbleshop_core/test/fixtures",['shops',
|
24
|
+
'link_groups',
|
25
|
+
'payment_methods'])
|
26
26
|
end
|
27
27
|
teardown do
|
28
28
|
DatabaseCleaner.clean
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nimbleshop_authorizedotnet
|
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
|
description: Provides Authorize.net support to nimbleShop
|
16
16
|
email:
|
@@ -70,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
segments:
|
72
72
|
- 0
|
73
|
-
hash:
|
73
|
+
hash: -1475793358086273886
|
74
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
segments:
|
81
81
|
- 0
|
82
|
-
hash:
|
82
|
+
hash: -1475793358086273886
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
85
|
rubygems_version: 1.8.24
|