Sha256: 164ac3f22cf40debeab765f667afd964d25cec0165aea97450c06ef6cb7b4d06
Contents?: true
Size: 627 Bytes
Versions: 3
Compression:
Stored size: 627 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '../spec_helper')) describe DController, " < AController; inherit_views 'other'" do describe "(the class)" do it { DController.should be_inherit_views } it "should have inherit view paths == ['d', 'other', 'a']" do DController.inherit_view_paths.should == ['d', 'other', 'a'] end end describe "(an instance)" do integrate_views it { @controller.should be_inherit_views } it "should have inherit view paths == ['d', 'other', 'a']" do @controller.class.inherit_view_paths.should == ['d', 'other', 'a'] end end end
Version data entries
3 entries across 3 versions & 1 rubygems