balanced 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +0,0 @@
1
- require "balanced"
2
-
3
- describe "ApiKey Resource" do
4
- before(:each) do
5
- end
6
-
7
- it "should create my api key and let me access the secret" do
8
- key = Balanced::ApiKey.new.save
9
- key.should_not eq(nil)
10
- # make sure my secret is there.
11
- key.secret.should_not eq(nil)
12
- end
13
-
14
- it "should construct the merchant sub resource as an instance of Balanced::Merchant" do
15
- key = Balanced::ApiKey.new.save
16
- (key.merchant.instance_of? Balanced::Merchant).should == true
17
- end
18
-
19
-
20
- end