test/rails/widget_generator_test.rb in apotomo-1.0.0.beta2 vs test/rails/widget_generator_test.rb in apotomo-1.0.0

- old
+ new

@@ -18,9 +18,10 @@ assert_file "app/cells/mouse_widget/snuggle.html.erb", %r(app/cells/mouse_widget/snuggle\.html\.erb) assert_file "app/cells/mouse_widget/snuggle.html.erb", %r(<p>) assert_file "app/cells/mouse_widget/squeak.html.erb", %r(app/cells/mouse_widget/squeak\.html\.erb) assert_file "test/widgets/mouse_widget_test.rb", %r(class MouseWidgetTest < Apotomo::TestCase) + assert_file "test/widgets/mouse_widget_test.rb", %r(widget\(:mouse_widget, 'me'\)) end should "create haml assets with --haml" do run_generator %w(MouseWidget squeak snuggle --haml)