opentok/opentok — pull request #1 by jonmumm (2012-04-11 05:45:40+00:00)
Title: Test Helpers

Added helpers to use in tests for checking if sessions and tokens are valid (and have specified role, expiration time, and data).

To include the helpers in all tests, add the following to test/test_helper.rb
```ruby
class ActionController::TestCase
include Devise::TestHelpers
end
```

To include the helpers in RSpec, add the following to spec/spec_helper.rb
```ruby
RSpec.configure do |config|
config.include OpenTok::TestHelpers
end
```

I added some test to make use of the new helpers.