Sha256: 0248e4580671d2a1beef7b2d17628d1eb6b62d8fbbdb77e94c8a5e09c3461d64

Contents?: true

Size: 326 Bytes

Versions: 11

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true
require 'rails_helper'

describe ActiveEncode::EncodeRecordController, type: :routing do
  routes { ActiveEncode::Engine.routes }

  it "routes to the show action" do
    expect(get: encode_record_path(1)).to route_to(controller: "active_encode/encode_record", action: "show", id: "1")
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
active_encode-1.2.0 spec/routing/encode_record_controller_routing_spec.rb
active_encode-1.1.3 spec/routing/encode_record_controller_routing_spec.rb
active_encode-1.1.2 spec/routing/encode_record_controller_routing_spec.rb
active_encode-1.1.1 spec/routing/encode_record_controller_routing_spec.rb
active_encode-1.1.0 spec/routing/encode_record_controller_routing_spec.rb
active_encode-1.0.0 spec/routing/encode_record_controller_routing_spec.rb
active_encode-0.8.2 spec/routing/encode_record_controller_routing_spec.rb
active_encode-0.8.1 spec/routing/encode_record_controller_routing_spec.rb
active_encode-0.8.0 spec/routing/encode_record_controller_routing_spec.rb
active_encode-0.7.0 spec/routing/encode_record_controller_routing_spec.rb
active_encode-0.6.0 spec/routing/encode_record_controller_routing_spec.rb