Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Still trying to keep the 1.8.7 support up

  • Loading branch information...
commit 0731bf7f9acbe3a870298f184b4f1b5709db2ca6 1 parent 1b8846d
Vesa Vänskä authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/kippt/comment.rb
  2. +1 −1  spec/kippt/comments_spec.rb
2  lib/kippt/comment.rb
View
@@ -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
2  spec/kippt/comments_spec.rb
View
@@ -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" }
Please sign in to comment.
Something went wrong with that request. Please try again.