spec/lita/message_spec.rb in lita-0.0.1 vs spec/lita/message_spec.rb in lita-1.0.0
- old
+ new
@@ -57,6 +57,13 @@
it "delegates to #body" do
expect(subject.body).to receive(:scan)
subject.scan
end
end
+
+ describe "#user" do
+ it "delegates to #source" do
+ expect(subject.source).to receive(:user)
+ subject.user
+ end
+ end
end