lib/hanami/cli/commands/generate/action/view_spec.rspec.erb in hanami-1.1.0.beta1 vs lib/hanami/cli/commands/generate/action/view_spec.rspec.erb in hanami-1.1.0.beta2

- old
+ new

@@ -1,5 +1,5 @@ -RSpec.describe <%= app.classify %>::Views::<%= controller.classify %>::<%= action.classify %> do +RSpec.describe <%= app.classify %>::Views::<%= classified_controller_name %>::<%= action.classify %> do let(:exposures) { Hash[foo: 'bar'] } let(:template) { Hanami::View::Template.new('<%= template %>') } let(:view) { described_class.new(template, exposures) } let(:rendered) { view.render }