spec/content_spec.rb in shutter-0.1.0 vs spec/content_spec.rb in shutter-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
require File.dirname(__FILE__) + '/spec_helper'
describe "Shutter" do
it "should have templates for all files" do
Shutter::Content::CONFIG_FILES.each do |name|
- Shutter::Content.constants.include?(:"#{name.upcase.gsub(/\./, "_")}").should == true
+ Shutter::Content.const_defined?(:"#{name.upcase.gsub(/\./, "_")}").should == true
end
end
end