Sha256: 9b530d7a68f6650bdb753c5771df99548bba9093c6ce660d88559b7003e147c5

Contents?: true

Size: 497 Bytes

Versions: 2

Compression:

Stored size: 497 Bytes

Contents

require "spec_helper"

module <%= module_name %>
  module Api
    module V1
      describe <%= class_name %>Controller do

        # Add this line if your project is a Rails Engine, not the Application
        # routes { <%= module_name %>::Engine.routes }

        # let(:use_case) { double "use_case" }

        # before do
        #   allow(use_case).to receive(:subscribe)
        #   allow(use_case).to receive(:run) { controller.render inline: "" }
        # end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hexx-1.1.1 lib/generators/controller/templates/controller_spec.erb
hexx-1.1.0 lib/generators/controller/templates/controller_spec.erb