Sha256: f9ee3aacb952b1bb300e1375e32a933f423e85abb9d71d05220f1fcde6c93ab5
Contents?: true
Size: 360 Bytes
Versions: 1
Compression:
Stored size: 360 Bytes
Contents
require "spec_helper" RSpec.describe "integration test" do describe "broadcasting" do let(:user) { create(:user) } it "broadcast to all subscribers" do expect { user.broadcast(:success) }.not_to raise_error end it "broadcast to a part of subscribers" do expect { user.broadcast(:failure) }.not_to raise_error end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pubsub_notifier-0.1.2 | spec/integration_spec.rb |