describe "app routing" do routes { Dunlop::Ember::Engine.routes } it 'has a root' do expect(get: "/").to route_to( controller: "dunlop/ember/application", action: "ember_path" ) end it "works with dashes", type: :routing do expect(get: "abc-def").to route_to( controller: "dunlop/ember/application", action: "ember_path", rest: 'abc-def' ) end end