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.5.27 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.26 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.45 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.25 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.23 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.44 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.22 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.43 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.21 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.42 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.20 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.41 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.19 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.40 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.18 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.39 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.17 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.38 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.5.16 test/middleware/workarea/release_server_middleware_test.rb
workarea-core-3.4.37 test/middleware/workarea/release_server_middleware_test.rb