test/rails_root/test/test_helper.rb in disguise-0.1.3 vs test/rails_root/test/test_helper.rb in disguise-0.2.0
- old
+ new
@@ -18,10 +18,10 @@
assert_contains flash.values, val, ", Flash: #{flash.inspect}"
end
def setup_theme
@theme = Theme.first || Theme.create
- @theme.current = 'blue'
+ @theme.name = 'blue'
@theme.save!
end
def clean_theme_view_path(controller)
controller.view_paths.delete_if {|view_path| view_path.to_s.index(Disguise::THEME_PATH) == 0}
\ No newline at end of file