spec/bonsai_spec.rb in bonsai-1.4.3 vs spec/bonsai_spec.rb in bonsai-1.4.4
- old
+ new
@@ -17,9 +17,15 @@
it "should know the version" do
Bonsai.version.should =~ /\d+.\d+.\d+/
end
+ it "should load extensions.rb" do
+ Bonsai.root_dir = "spec/support"
+
+ # Test the module was created
+ Extensions.class.should == Module
+ end
describe "site yml" do
describe "working" do
it "should respond to site" do
Bonsai.should respond_to(:site)
\ No newline at end of file