spec/bullet_spec.rb in bullet-5.4.1 vs spec/bullet_spec.rb in bullet-5.4.2
- old
+ new
@@ -123,10 +123,10 @@
context "when env['REQUEST_URI'] is present" do
before { env['REQUEST_URI'] = 'http://example.com/path' }
it "should notification.url is env['REQUEST_URI']" do
- expect(notification).to receive(:url=).with(env['REQUEST_URI'])
+ expect(notification).to receive(:url=).with('GET http://example.com/path')
Bullet.perform_out_of_channel_notifications(env)
end
end
end
end