rspec-stripe 0.0.4 → 0.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: daade85cd92797b42206cb26d6315c567a6221f9
4
- data.tar.gz: b1478da2c27f3a35c7a7eb9a4f734d693fbda435
3
+ metadata.gz: aebb61edfdface38eac80af10ff04041889f6087
4
+ data.tar.gz: abbe9a69a548dc03c39ab7a6dcb066c2d650bc0d
5
5
  SHA512:
6
- metadata.gz: 706614aa10bd7f12d6a382e8ca579d468cd59f3639dd7913e8da149a71287b4135cf72d3d5a7dc7c41910c740cec017218432a66774234589c818f96b23026ef
7
- data.tar.gz: b9d59f7e601507397dcaba837fa80e396a5d9b837aa7c68b9b528b2f02392f61e1673c94736c70eccd18e1c487c6280d3d0fea0050e52e0ec538920a37e9e9ee
6
+ metadata.gz: f0a9c17d28a6c4a07a9c7f20cccd116779c96537d56af2bae45ac5ec3b5de20e2db4e98100bc6395439bc7fad5775de6de256ebb9bee18026b75e8efbe2b31ee
7
+ data.tar.gz: 745931ad0037f1fe8dc410696ab35c0e1bed18c098b421c31fe3ba62a15f71b93f861865a2eae323915bf2f3c3fa66a16f664a09a155e89116881cb6f1f06b6f
@@ -10,7 +10,7 @@ GIT
10
10
  PATH
11
11
  remote: .
12
12
  specs:
13
- rspec-stripe (0.0.2)
13
+ rspec-stripe (0.0.5)
14
14
 
15
15
  GEM
16
16
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -22,7 +22,7 @@ With RSpec-Stripe, you can say what you want for your spec, and have it injected
22
22
  expect(stripe_subscription).to eq(nil)
23
23
  end
24
24
 
25
- it "gives me a subscription", stripe: { customer: :new, plan: "test", subscription: "test" } do
25
+ it "gives me a subscription", stripe: { customer: :new, plan: "test", card: :visa, subscription: "test" } do
26
26
  expect(stripe_customer).not_to eq(nil)
27
27
  expect(stripe_plan).not_to eq(nil)
28
28
  expect(stripe_subscription).not_to eq(nil)
@@ -45,7 +45,7 @@ module RSpecStripe::Factory
45
45
  number: "3530111333300000"
46
46
  },
47
47
  card_declined: {
48
- number: "4000000000000002"
48
+ number: "4000000000000341"
49
49
  },
50
50
  incorrect_number: {
51
51
  number: "4242424242424241"
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.require_paths = ["lib"]
13
13
  s.files = `git ls-files`.split("\n")
14
14
 
15
- s.version = "0.0.4"
15
+ s.version = "0.0.5"
16
16
  s.required_ruby_version = '>= 2.0.0'
17
17
  s.required_rubygems_version = '>= 1.6.2'
18
18
  end
@@ -17,7 +17,7 @@ describe 'Basic' do
17
17
  expect(stripe_subscription).to eq(nil)
18
18
  end
19
19
 
20
- it "gives me a subscription", stripe: { customer: :new, plan: "test", subscription: "test" } do
20
+ it "gives me a subscription", stripe: { customer: :new, plan: "test", card: :visa, subscription: "test" } do
21
21
  expect(stripe_customer).not_to eq(nil)
22
22
  expect(stripe_plan).not_to eq(nil)
23
23
  expect(stripe_subscription).not_to eq(nil)
@@ -156,3 +156,5 @@ describe RSpecStripe::Runner do
156
156
  end
157
157
  end
158
158
  end
159
+
160
+ FakeWeb.allow_net_connect = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Bussey