Sha256: 442d1919f02161b008e1f9085a2470a3289b848c4be7af932aae4dc6ef53c16e

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe <%= "#{class_name}ApiClient" %>, <%= type_metatag(:api_client) %> do
  let(:api_client) { described_class.new }

<% requests.each do |request| -%>
<% action, http_method, pathname = request.separate(':') -%>
  describe '#<%= action %>' do
  end
<% end -%>
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_api_client-0.1.1 lib/generators/rspec/templates/api_client_spec.rb.erb