Sha256: 9ad211edf10fbd43003fdf58a6706632cca525bcee020ca541b2ad7de3899d1b
Contents?: true
Size: 279 Bytes
Versions: 2
Compression:
Stored size: 279 Bytes
Contents
RSpec.describe <%= app.classify %>::Controllers::<%= classified_controller_name %>::<%= action.classify %> do let(:action) { described_class.new } let(:params) { Hash[] } it 'is successful' do response = action.call(params) expect(response[0]).to eq 200 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hanami-1.1.0.beta3 | lib/hanami/cli/commands/generate/action/action_spec.rspec.erb |
hanami-1.1.0.beta2 | lib/hanami/cli/commands/generate/action/action_spec.rspec.erb |