Browse files

Still trying to keep the 1.8.7 support up

  • Loading branch information...
1 parent 1b8846d commit 0731bf7f9acbe3a870298f184b4f1b5709db2ca6 @vesan committed Mar 31, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/kippt/comment.rb
  2. +1 −1 spec/kippt/comments_spec.rb
View
2 lib/kippt/comment.rb
@@ -12,7 +12,7 @@ class Kippt::Comment
attr_reader :clip
- def initialize(attributes = {}, client = nil, clip)
+ def initialize(attributes = {}, client = nil, clip = nil)
super(attributes, client)
@clip = clip
end
View
2 spec/kippt/comments_spec.rb
@@ -3,7 +3,7 @@
describe Kippt::Comments do
let(:client) { Kippt::Client.new(valid_user_credentials) }
- let(:clip) { stub :clip, id: 100, all_comments_embedded?: false }
+ let(:clip) { stub :clip, :id => 100, :all_comments_embedded? => false }
subject { Kippt::Comments.new(client, clip) }
let(:base_uri) { "clips/#{clip.id}/comments" }
let(:singular_fixture) { "comment" }

0 comments on commit 0731bf7

Please sign in to comment.