Skip to content
Browse files

minor tweaks to get 100% spec coverage

  • Loading branch information...
1 parent af866af commit 45f095aaf6e9b779a1041fb7dfcc8d9153990e00 @rlivsey rlivsey committed Oct 29, 2009
Showing with 4 additions and 1 deletion.
  1. +1 −1 README.rdoc
  2. +1 −0 lib/rspreedly/invoice.rb
  3. +2 −0 lib/rspreedly/subscriber.rb
View
2 README.rdoc
@@ -6,7 +6,7 @@ Ruby library to access the Spreedly API (all of it).
There are a few of these knocking about, but I couldn't find one particular to my needs:
- * Well covered with specs (aiming for 100%)
+ * Well covered with specs - currently 100% coverage
* Covers the entire API, not just parts of it
* Rubyish/ActiveRecord style access
View
1 lib/rspreedly/invoice.rb
@@ -21,6 +21,7 @@ def create
rescue RSpreedly::Error::Base
# gulp those errors down
# TODO - set self.errors or something?
+ nil
end
end
View
2 lib/rspreedly/subscriber.rb
@@ -82,6 +82,7 @@ def create
rescue RSpreedly::Error::Base
# gulp those errors down
# TODO - set self.errors or something?
+ nil
end
end
@@ -97,6 +98,7 @@ def update
rescue RSpreedly::Error::Base
# gulp those errors down
# TODO - set self.errors or something?
+ nil
end
end

0 comments on commit 45f095a

Please sign in to comment.
Something went wrong with that request. Please try again.