Sha256: 10a34dd54b95e63e5bfe31421c460cdf2ef3fc999b3bfe09f90d8b47c1ce6afe
Contents?: true
Size: 471 Bytes
Versions: 13
Compression:
Stored size: 471 Bytes
Contents
require 'test_helper' require 'support/rails_app' require 'support/delayed_job_fake' class TestMountedInRailsApp < MiniTest::Unit::TestCase include Rack::Test::Methods def app RailsApp end # basic smoke test all the tabs %w(overview enqueued working pending failed stats).each do |tab| define_method :"test_#{tab}" do get "/delayed_job/#{tab}" assert last_response.ok?, "Received bad response: #{last_response.inspect}" end end end
Version data entries
13 entries across 13 versions & 2 rubygems