test/cells_module_test.rb in cells-3.8.0 vs test/cells_module_test.rb in cells-3.8.1

- old
+ new

@@ -14,10 +14,14 @@ should "provide .setup" do Cells.setup do |c| c.append_view_path "/road/to/nowhere" end - assert_equal "/road/to/nowhere", Cell::Rails.view_paths.last.to_s + if Cells.rails3_2_or_more? + assert_equal "/road/to/nowhere", Cell::Rails.view_paths.paths.last.to_s + else + assert_equal "/road/to/nowhere", Cell::Rails.view_paths.last.to_s + end end end should "respond to #rails3_1_or_more?" do if Rails::VERSION::MINOR == 0