kisaweb 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +3 -0
- data/VERSION +1 -1
- data/kisaweb.gemspec +1 -1
- data/lib/kisaweb/club.rb +1 -1
- data/spec/club_spec.rb +10 -0
- metadata +1 -1
data/History.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/kisaweb.gemspec
CHANGED
data/lib/kisaweb/club.rb
CHANGED
data/spec/club_spec.rb
CHANGED
@@ -75,6 +75,16 @@ describe Kisaweb::Club do
|
|
75
75
|
@club.name.should == "Tampereen Pyrintö"
|
76
76
|
end
|
77
77
|
end
|
78
|
+
|
79
|
+
context "with nil as attribute" do
|
80
|
+
before(:each) do
|
81
|
+
@club = Kisaweb::Club.find(nil)
|
82
|
+
end
|
83
|
+
|
84
|
+
it "should return nil but not bomb" do
|
85
|
+
@club.should be_nil
|
86
|
+
end
|
87
|
+
end
|
78
88
|
end
|
79
89
|
|
80
90
|
describe "attributes" do
|