test/url_helper_test.rb in cells-4.0.0.beta1 vs test/url_helper_test.rb in cells-4.0.0.beta2
- old
+ new
@@ -2,10 +2,11 @@
class MusiciansController < ApplicationController
end
class UrlHelperTest < MiniTest::Spec
- let (:controller) { MusiciansController.new.tap { |ctl| ctl.send("request=", ActionDispatch::Request.new({})) } }
+ controller MusiciansController
+
let (:cellule) { SongCell.new(controller) }
class SongCell < Cell::ViewModel
self.view_paths = ['test/fixtures']
\ No newline at end of file