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