Sha256: c858230dd2d7b14591608af0983116f9c842279f5a5d35d4894c3f5a81d664ed
Contents?: true
Size: 453 Bytes
Versions: 9
Compression:
Stored size: 453 Bytes
Contents
require 'test_helper' class CellsModuleTest < ActiveSupport::TestCase context "Cells" do setup do @old_view_paths = Cell::Base.view_paths.clone end should "provide .setup" do Cells.setup do |c| c.append_view_path "/road/to/nowhere" end assert_equal "/road/to/nowhere", Cell::Base.view_paths.last.to_s end teardown do Cell::Base.view_paths = @old_view_paths end end end
Version data entries
9 entries across 9 versions & 1 rubygems