Skip to content

Commit

Permalink
disable model tracking for all specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi committed May 15, 2018
1 parent d0785f2 commit efff596
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 40 deletions.
34 changes: 0 additions & 34 deletions spec/config_spec.rb

This file was deleted.

2 changes: 0 additions & 2 deletions spec/feed_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def activity_should_sync?
let(:feed_manager) { StreamRails.feed_manager }

it 'should not call follow/unfollow API' do
StreamRails.enabled = false

feed_manager.should_not receive(:get_feed)
feed_manager.follow_user(1, 2)

Expand Down
8 changes: 4 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
require 'stream_rails'

StreamRails.configure do |config|
config.api_key = ENV['STREAM_API_KEY']
config.api_secret = ENV['STREAM_API_SECRET']
config.api_key = ENV['STREAM_API_KEY'] || 'YOUR_API_KEY'
config.api_secret = ENV['STREAM_API_SECRET'] || 'YOUR_API_SECRET'
config.api_site_id = '42'
config.location = ENV['STREAM_REGION']
config.location = ENV['STREAM_REGION'] || 'api'
config.api_hostname = ENV['STREAM_API_HOSTNAME']
config.enabled = true
config.enabled = false
end

0 comments on commit efff596

Please sign in to comment.