spec/rconfig/reload_spec.rb in rconfig-0.5.2 vs spec/rconfig/reload_spec.rb in rconfig-0.5.4

- old
+ new

@@ -11,20 +11,20 @@ RConfig.add_load_path('spec') end it 'should reload if reload enabled' do RConfig.enable_reload = true - RConfig.reload.should be_true + RConfig.reload.should be_truthy end it 'should not reload if reload disabled' do RConfig.enable_reload = false - RConfig.reload.should be_false + RConfig.reload.should be_falsey end it 'should reload if forced' do RConfig.enable_reload = false - RConfig.reload(true).should be_true + RConfig.reload(true).should be_truthy end it 'should flush cache on reload' do RConfig.should_receive(:flush_cache) RConfig.reload(true)