Sha256: 37d126a5aa2254d8dd9016306033272a432457a1351cda6bcc6f320fb82890b9
Contents?: true
Size: 395 Bytes
Versions: 67
Compression:
Stored size: 395 Bytes
Contents
require "rails_helper" RSpec.describe "routes for Post Types", :type => :routing do it "routes for /test-post-type" do post_type = create_test_post_type(slug: "test-post-type") expect(post_type.id).to be_present expect(get("/test-post-type")).to route_to( "camaleon_cms/frontend#post_type", post_type_id: post_type.id, post_type_slug: "test-post-type") end end
Version data entries
67 entries across 67 versions & 2 rubygems