Sha256: eab97c980f9e19762b2f807ea80a80427e1222dc2def5d516de574c99732e1e9

Contents?: true

Size: 391 Bytes

Versions: 62

Compression:

Stored size: 391 Bytes

Contents

require 'test_helper'

module Workarea
  module Storefront
    module Users
      class OrdersIntegrationTest < Workarea::IntegrationTest
        def test_is_forbidden_if_the_user_does_not_own_the_order
          set_current_user(create_user)
          get storefront.users_order_path(create_placed_order)
          assert_equal(403, response.status)
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.26 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.45 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.25 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.23 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.44 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.22 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.43 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.21 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.42 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.20 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.41 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.19 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.40 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.18 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.39 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.17 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.38 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.5.16 test/integration/workarea/storefront/users/orders_integration_test.rb
workarea-storefront-3.4.37 test/integration/workarea/storefront/users/orders_integration_test.rb