Sha256: c80f57adbc2dc1bca831b1b130b68fdb0868002ddc42f2868c5c5783293a0cbe

Contents?: true

Size: 769 Bytes

Versions: 8

Compression:

Stored size: 769 Bytes

Contents

describe Payanyway::Engine, type: :routing do
  routes { Payanyway::Engine.routes }

  context 'payanyway' do
    specify { get('/success').should route_to(
       controller: 'payanyway',
       action: 'success'
    )}

    specify { get('/pay').should route_to(
      controller: 'payanyway',
      action: 'pay'
    )}

    specify { get('/fail').should route_to(
      controller: 'payanyway',
      action: 'fail'
    )}

    specify { get('/return').should route_to(
      controller: 'payanyway',
      action: 'return'
    )}

    specify { get('/in_progress').should route_to(
      controller: 'payanyway',
      action: 'in_progress'
    )}

    specify { get('/check').should route_to(
      controller: 'payanyway',
      action: 'check'
    )}
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
payanyway-2.0.0 spec/config/routes_spec.rb
payanyway-1.2.6 spec/config/routes_spec.rb
payanyway-1.2.5 spec/config/routes_spec.rb
payanyway-1.2.3 spec/config/routes_spec.rb
payanyway-1.2.4 spec/config/routes_spec.rb
payanyway-1.2.2 spec/config/routes_spec.rb
payanyway-1.2.1 spec/config/routes_spec.rb
payanyway-1.2.0 spec/config/routes_spec.rb