Sha256: e0e263ac202ba4c290e47437b8cd207be1c91ccaae927e844b7e4e7a5629a8e4

Contents?: true

Size: 610 Bytes

Versions: 46

Compression:

Stored size: 610 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'
require 'resque/server/test_helper'
 
# Root path test
context "on GET to /" do
  setup { get "/" }

  test "redirect to overview" do
    follow_redirect!
  end
end

# Global overview
context "on GET to /overview" do
  setup { get "/overview" }

  test "should at least display 'queues'" do
    assert last_response.body.include?('Queues')
  end
end

# Working jobs
context "on GET to /working" do
  setup { get "/working" }

  should_respond_with_success
end

# Failed
context "on GET to /failed" do
  setup { get "/failed" }

  should_respond_with_success
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.7.4 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.7.3 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.7.2 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.7.1 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.7.0 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.9 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.8 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.7 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.6 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.5 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.4 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.3 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.2 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.1 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.6.0 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.5.17 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.5.16 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.5.15 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb
classiccms-0.5.14 vendor/bundle/gems/resque-mongo-1.9.8.1/test/resque-web_test.rb