spec/stache/config_spec.rb in stache-1.0.3 vs spec/stache/config_spec.rb in stache-1.1.0
- old
+ new
@@ -26,9 +26,18 @@
end
it "sets a default value for wrapper_module_name" do
Stache.send(:wrapper_module_name).should be_nil
end
+
+ it "sets up an attribute named include_path_in_id" do
+ attr = :include_path_in_id
+ should_set_up_attr_accessor_for(attr)
+ end
+
+ it "sets a default value for include_path_in_id" do
+ Stache.send(:include_path_in_id).should be false
+ end
end
describe ".configure" do
it "yields self to the block as a convienence to future refactoring" do
Stache.configure do |config|
\ No newline at end of file