spec/sprockets-plugin_spec.rb in sprockets-plugin-0.1.0 vs spec/sprockets-plugin_spec.rb in sprockets-plugin-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
require "spec_helper"
describe Sprockets::Plugin do
after :each do
- Sprockets::Plugin.class_variable_set :@@plugins, nil
+ Sprockets::Plugin.send :class_variable_set, :@@plugins, nil
end
it "adds paths from plugins to newly created environments" do
dir_1 = @sandbox.directory "plugin_1/assets"
dir_2 = @sandbox.directory "plugin_2/assets"