spec/sprockets-sass_spec.rb in sprockets-sass-1.2.0 vs spec/sprockets-sass_spec.rb in sprockets-sass-1.3.0

- old
+ new

@@ -370,18 +370,18 @@ it 'does not add Sass functions if sprockets-helpers is not available' do template = Sprockets::Sass::SassTemplate.new {} template.should_receive(:require).with('sprockets/helpers').and_raise LoadError template.should_not_receive(:require).with 'sprockets/sass/functions' template.initialize_engine - expect(Sprockets::Sass::SassTemplate.engine_initialized?).to be_true + expect(Sprockets::Sass::SassTemplate.engine_initialized?).to be_truthy end it 'does not add Sass functions if add_sass_functions is false' do Sprockets::Sass.add_sass_functions = false template = Sprockets::Sass::SassTemplate.new {} template.should_not_receive(:require).with 'sprockets/sass/functions' template.initialize_engine - expect(Sprockets::Sass::SassTemplate.engine_initialized?).to be_true + expect(Sprockets::Sass::SassTemplate.engine_initialized?).to be_truthy Sprockets::Sass.add_sass_functions = true end end end end