Add this line to your application's Gemfile:
gem 'realself-stream', '~> [version]', :git => 'ssh://git@github.com/RealSelf/stream-ruby.git'
And then execute:
$ bundle install
The preferred method for running tests is via rake
tasks.
# run all integration and unit tests
$ bundle exec rake test
# run integration tests only
$ bundle exec rake test:integration
# run unit tests only
$ bundle exec rake test:unit
# skip TTL test, while running all others
$ SKIP_TTL_TESTS=true bundle exec rake test
- Integration tests assume MongoDB ``~>2.6.0
is running locally and listening on port
27017`. bundle exec rspec
will run all integration and unit tests- The TTL integration test must allow the TTL to expire to compleate all tests. To skip waiiting for the timeout, set the
SKIP_TTL_TESTS
environment variable totrue
.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request