Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjohns committed Apr 29, 2015
1 parent 8300b26 commit dcf2ce7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
beanstalkd_view (1.2.12)
beaneater (~> 0.3.0)
beaneater (~> 1.0.0)
json
sinatra (>= 1.3.0)
sinatra-contrib (>= 1.3.0)
Expand Down Expand Up @@ -40,7 +40,7 @@ GEM
multi_json (~> 1.0)
arel (3.0.2)
backports (3.6.4)
beaneater (0.3.3)
beaneater (1.0.0)
builder (3.0.4)
capybara (2.0.2)
mime-types (>= 1.16)
Expand All @@ -53,12 +53,11 @@ GEM
ffi (~> 1.0, >= 1.0.11)
diff-lcs (1.1.3)
erubis (2.7.0)
eventmachine (1.0.7)
ffi (1.4.0)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
json (1.7.5)
json (1.8.2)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
Expand Down Expand Up @@ -108,16 +107,16 @@ GEM
multi_json (~> 1.0)
rubyzip
websocket (~> 1.0.4)
sinatra (1.3.6)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.3)
tilt (~> 1.3, >= 1.3.3)
sinatra-contrib (1.3.2)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sinatra-contrib (1.4.2)
backports (>= 2.0)
eventmachine
multi_json
rack-protection
rack-test
sinatra (~> 1.3.0)
sinatra (~> 1.4.0)
tilt (~> 1.3)
sprockets (2.1.3)
hike (~> 1.2)
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace :beanstalkd_view do
task :enqueue_test do
host = "localhost"
port = 11300
beanstalk = Beaneater::Pool.new([ "#{host}:#{port}" ])
beanstalk = Beaneater.new("#{host}:#{port}")

# Loop flooding the queues with jobs
while true
Expand All @@ -37,7 +37,7 @@ namespace :beanstalkd_view do
task :pull_test do
host = "localhost"
port = 11300
beanstalk = Beaneater::Pool.new([ "#{host}:#{port}" ])
beanstalk = Beaneater.new("#{host}:#{port}")

while true
tube_name = TEST_QUEUES.sample
Expand Down

0 comments on commit dcf2ce7

Please sign in to comment.