binarybeast 0.2.0.pre → 0.2.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/binarybeast/version.rb +1 -1
- data/spec/binarybeast_spec.rb +1 -1
- data/spec/tourney_spec.rb +4 -4
- metadata +1 -1
data/lib/binarybeast/version.rb
CHANGED
data/spec/binarybeast_spec.rb
CHANGED
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe BinaryBeast do
|
4
4
|
it "must have apikey variable" do
|
5
|
-
BinaryBeast.api_key.should == "
|
5
|
+
BinaryBeast.api_key.should == "e17d31bfcbedd1c39bcb018c5f0d0fbf.4dcb36f5cc0d74.24632846"
|
6
6
|
end
|
7
7
|
it "should have a raw call method" do
|
8
8
|
BinaryBeast.should respond_to(:call)
|
data/spec/tourney_spec.rb
CHANGED
@@ -19,9 +19,9 @@ describe BinaryBeast::Tournament do
|
|
19
19
|
end
|
20
20
|
describe "load" do
|
21
21
|
it "should load from eigenclass" do
|
22
|
-
tournament = BinaryBeast::Tournament.load(:id =>
|
22
|
+
tournament = BinaryBeast::Tournament.load(:id => 'xSC21212194')
|
23
23
|
tournament.should be_an_instance_of BinaryBeast::Tournament
|
24
|
-
tournament.title.should eq('Gamkoi
|
24
|
+
tournament.title.should eq('Gamkoi Dev Dummy')
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
@@ -101,9 +101,9 @@ describe BinaryBeast::Tournament do
|
|
101
101
|
@tournament.should respond_to(:load)
|
102
102
|
end
|
103
103
|
it "should load a tourney and set attributes" do
|
104
|
-
tournament = BinaryBeast::Tournament.load(:id =>
|
104
|
+
tournament = BinaryBeast::Tournament.load(:id => 'xSC21212194')
|
105
105
|
tournament.load
|
106
|
-
tournament.title.should eq("Gamkoi
|
106
|
+
tournament.title.should eq("Gamkoi Dev Dummy")
|
107
107
|
end
|
108
108
|
end
|
109
109
|
describe "set status" do
|