test/lib/troo/external/comment_test.rb in troo-0.0.3 vs test/lib/troo/external/comment_test.rb in troo-0.0.4

- old
+ new

@@ -81,8 +81,19 @@ it "returns an empty collection" do subject.must_equal([]) end end end + + describe "when the mode is member" do + let(:member_id) { "5195fdb5a8c01a2318004f5d" } + let(:options) { { mode: :member } } + + subject { described_class.fetch(member_id, options) } + + it "returns an empty collection" do + subject.must_equal([]) + end + end end end end