diff --git a/Procfile b/Procfile index a2a2fd9..5b58a5a 100644 --- a/Procfile +++ b/Procfile @@ -1,3 +1,3 @@ web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb stream: ./script/stream -#queue: bundle exec sidekiq -C config.yml \ No newline at end of file +queue: bundle exec sidekiq -C config.yml \ No newline at end of file diff --git a/config/sidekiq.yml b/config/sidekiq.yml index acbfe94..2701821 100644 --- a/config/sidekiq.yml +++ b/config/sidekiq.yml @@ -1,2 +1,2 @@ -:namespace 'vegastech_bulletin_board' -:concurrency: 3 \ No newline at end of file +namespace: 'vegastech_bulletin_board' +concurrency: 3 \ No newline at end of file diff --git a/spec/models/story_spec.rb b/spec/models/story_spec.rb index 9b39727..d16c0cb 100644 --- a/spec/models/story_spec.rb +++ b/spec/models/story_spec.rb @@ -20,7 +20,7 @@ it 'should truncate a tweet to 140 characters' do story.stub(:votes_count).and_return(5) story.stub(:content).and_return('x' * 200) - Twitter.should_receive(:update).with('RT @lvrug: ' + 'x' * 128 + '…') + Twitter.should_receive(:update).with('RT @lvrug: ' + 'x' * 125 + '...') story.run_callbacks(:save) end