Sha256: 901cc2085870d116a0cb32ab8727157b6777513f3f44e651daaac823701f402b
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hexx-1.1.1 | lib/generators/controller/templates/routing_action_spec.erb |