spec/premailer-rails3/premailer_spec.rb in premailer-rails3-1.0.2 vs spec/premailer-rails3/premailer_spec.rb in premailer-rails3-1.1.0
- old
+ new
@@ -31,10 +31,10 @@
PremailerRails::CSSHelper.expects(:css_for_doc)
PremailerRails::Premailer.new('some html')
end
it 'should pass on the configs' do
- PremailerRails3.config = { :foo => :bar }
+ PremailerRails.config = { :foo => :bar }
premailer = PremailerRails::Premailer.new('some html')
premailer.instance_variable_get(:'@options')[:foo].should == :bar
end
end
end