spec/spec_helper.rb in assetify-1.0.0.rc1 vs spec/spec_helper.rb in assetify-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
require 'assetify'
include Assetify
-def mock_jsfile(d = 'js "cool", "http://cool.js/down"')
- File.should_receive(:open).once.with("Jsfile").and_return(d)
+def mock_assetfile(d = 'js "cool", "http://cool.js/down"')
+ File.should_receive(:open).once.with("Assetfile").and_return(d)
end
# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}