Sha256: 45482a9f4d7abc66772d079f906ac6227637e4e88ce7762fdbfca70909917e1c

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

require_relative '<%= config[:relative_action_path] %>'

describe <%= config[:app] %>::Controllers::<%= config[:controller] %>::<%= config[:action] %> 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

1 entries across 1 versions & 1 rubygems

Version Path
lotusrb-0.5.0 lib/lotus/generators/action/action_spec.rspec.tt