Sha256: 6f889f7b4470073dc4a0a5d6b6b6994f1c2e7f9a9ce207812612bfc22e80f48a
Contents?: true
Size: 542 Bytes
Versions: 81
Compression:
Stored size: 542 Bytes
Contents
require 'spec_helper' describe "ResqueAccess" do context "with config enabled" do before do SocialStream.resque_access = true end it "should be success" do get '/resque/overview' response.should be_success end end context "with config disabled" do before do SocialStream.resque_access = false end it "should be success" do begin get '/resque/overview' assert false rescue ActionController::RoutingError assert true end end end end
Version data entries
81 entries across 81 versions & 2 rubygems