Sha256: d9d07c2d5ee734627f5236974d1898cea50d80d11e2739b05625baa2780e0596
Contents?: true
Size: 1018 Bytes
Versions: 1
Compression:
Stored size: 1018 Bytes
Contents
require 'test_helper' require 'resque_sqs/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 # Stats context "on GET to /stats/resque" do setup { get "/stats/resque" } should_respond_with_success end context "on GET to /stats/redis" do setup { get "/stats/redis" } should_respond_with_success end context "on GET to /stats/resque" do setup { get "/stats/keys" } should_respond_with_success end context "also works with slash at the end" do setup { get "/working/" } should_respond_with_success end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
resque_sqs-1.25.2 | test/resque-web_test.rb |