Sha256: 9f33b7143e4e9e5befebcc5bf47cd725cda0213493111ab0eefb3b4b39488189

Contents?: true

Size: 323 Bytes

Versions: 62

Compression:

Stored size: 323 Bytes

Contents

require 'test_helper'

module Workarea
  class ReleaseServerMiddlewareTest < TestCase
    def test_call_disables_any_current_release
      Release.with_current(create_release.id) do
        ReleaseServerMiddleware.new.call(mock, {}, :foo) do
          assert(Release.current.blank?)
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.27 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.4 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.26 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.3 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.25 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.2 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.24 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.1 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.23 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.22 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.0 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.21 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.0.beta.1 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.20 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.19 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.18 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.17 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.16 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.15 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.14 test/middleware/workarea/release_server_middleware_test.rb