Sha256: 6565b5803bd77cddb1a391e5f0ba9a9031e494dc5f5983981f47acec8ec6664b
Contents?: true
Size: 665 Bytes
Versions: 1
Compression:
Stored size: 665 Bytes
Contents
require 'test_helper' class CellsModuleTest < ActiveSupport::TestCase context "Cells" do context "view_paths" do setup do @old_view_paths = Cell::Rails.view_paths.clone end teardown do Cell::Rails.view_paths = @old_view_paths end should "provide .setup" do Cells.setup do |c| c.append_view_path "/road/to/nowhere" end if Cell.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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cells-3.8.6 | test/cells_module_test.rb |