lib/hanami/cli/commands/generate/action/view_spec.minitest.erb in hanami-1.3.3 vs lib/hanami/cli/commands/generate/action/view_spec.minitest.erb in hanami-1.3.4

- old
+ new

@@ -5,8 +5,8 @@ let(:template) { Hanami::View::Template.new('<%= template %>') } let(:view) { <%= app.classify %>::Views::<%= classified_controller_name %>::<%= action.classify %>.new(template, exposures) } let(:rendered) { view.render } it 'exposes #format' do - view.format.must_equal exposures.fetch(:format) + _(view.format).must_equal exposures.fetch(:format) end end