require 'spec_helper' describe ScriptAssetsController do render_views before :each do RSpec::Matchers.define :have_script_tag do |tag_name| match do |body| body =~ Regexp.new("