stripe_local 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/stripe_local/card.rb +1 -1
- data/app/models/stripe_local/coupon.rb +2 -0
- data/lib/stripe_local/version.rb +1 -1
- data/lib/stripe_local.rb +4 -0
- data/spec/dummy/log/test.log +988 -0
- data/spec/models/stripe_local/customer_spec.rb +3 -1
- metadata +2 -2
@@ -13,7 +13,9 @@ describe StripeLocal::Customer do
|
|
13
13
|
StripeLocal::Customer.should_receive( :normalize ).and_call_original
|
14
14
|
client.signup( {card: "token", plan: "plan"} )
|
15
15
|
|
16
|
-
client.
|
16
|
+
client.customer.id.should eq "cus_123"
|
17
|
+
|
18
|
+
client.subscription.plan_id.should eq "GIN100"
|
17
19
|
end
|
18
20
|
|
19
21
|
it "refers to StripeLocal mattr_accessor for application level model_class" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe_local
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Cohen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|