Sha256: 8f80b854cfa17213b299b6a53317ad9ad94f507f4a89f5535d71e99c8c62d77e

Contents?: true

Size: 275 Bytes

Versions: 14

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

RSpec.describe <%= camelized_app_name %>::Actions::<%= camelized_controller_name %>::<%= camelized_action_name %> do
  let(:params) { Hash[] }

  it "works" do
    response = subject.call(params)
    expect(response).to be_successful
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hanami-rspec-2.2.1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.2.0 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.2.0.rc1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.2.0.beta2 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.2.0.beta1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.1.0 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.1.0.rc2 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.1.0.rc1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.1.0.beta1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.0.1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.0.0 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-2.0.0.rc1 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-3.11.0.beta4 lib/hanami/rspec/generators/action/action_spec.erb
hanami-rspec-3.11.0.beta3 lib/hanami/rspec/generators/action/action_spec.erb