spec/lib/guard/livereload_spec.rb in guard-livereload-2.2.0 vs spec/lib/guard/livereload_spec.rb in guard-livereload-2.3.0

- old
+ new

@@ -31,27 +31,27 @@ end describe ":apply_css_live option" do it "is true by default" do plugin = Guard::LiveReload.new - expect(plugin.options[:apply_css_live]).to be_true + expect(plugin.options[:apply_css_live]).to be_truthy end it "can be set to false" do plugin = Guard::LiveReload.new(apply_css_live: false) - expect(plugin.options[:apply_css_live]).to be_false + expect(plugin.options[:apply_css_live]).to be_falsey end end describe ":override_url option" do it "is false by default" do plugin = Guard::LiveReload.new - expect(plugin.options[:override_url]).to be_false + expect(plugin.options[:override_url]).to be_falsey end it "can be set to false" do plugin = Guard::LiveReload.new(override_url: true) - expect(plugin.options[:override_url]).to be_true + expect(plugin.options[:override_url]).to be_truthy end end describe ":grace_period option" do it "is 0 by default" do