Skip to content

Instantly share code, notes, and snippets.

View impact11's full-sized avatar

Impact Fantasy Sports impact11

View GitHub Profile
require 'spec_helper'
describe StreamingListener do
let(:err) { Proc.new { |c| fail "API request failed: #{c.inspect}" } }
let(:chat_group) { FactoryGirl.create :chat_group, :chat_group_size => 3 }
let(:user) { FactoryGirl.create :user }
let(:user2) { FactoryGirl.create :user }
describe 'chat_group listener' do
it 'should allow a user to become a listener to a chat_group room she has joined' do