Sha256: ccd4496d8182d8586f628edaabc95948bae99011938a96192a5d18a8337f1c1d

Contents?: true

Size: 370 Bytes

Versions: 6

Compression:

Stored size: 370 Bytes

Contents

    # describe "#<%= action_name %>" do

    #   let(:action) do
    #     { controller: "<%= gem_name %>/#{ root }", action: "<%= action_name %>" }
    #   end
    
    #   subject(:request) { { <%= action_type %>: "/#{ root }/something" } }

    #   it "is routable in json" do
    #     expect(request).to route_to action.merge(format: "json")
    #   end
    # end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hexx-1.1.0 lib/generators/controller/templates/routing_action_spec.erb
hexx-1.0.2 lib/generators/controller/templates/routing_action_spec.erb
hexx-1.0.1 lib/generators/controller/templates/routing_action_spec.erb
hexx-1.0.0 lib/generators/controller/templates/routing_action_spec.erb
hexx-0.1.1 lib/generators/controller/templates/routing_action_spec.erb
hexx-0.1.0 lib/generators/controller/templates/routing_action_spec.erb