spec/gush/configuration_spec.rb in gush-0.4.1 vs spec/gush/configuration_spec.rb in gush-1.0.0

- old
+ new

@@ -6,22 +6,19 @@ subject.gushfile = GUSHFILE expect(subject.redis_url).to eq("redis://localhost:6379") expect(subject.concurrency).to eq(5) expect(subject.namespace).to eq('gush') expect(subject.gushfile).to eq(GUSHFILE.realpath) - expect(subject.environment).to eq('development') end describe "#configure" do it "allows setting options through a block" do Gush.configure do |config| config.redis_url = "redis://localhost" config.concurrency = 25 - config.environment = 'production' end expect(Gush.configuration.redis_url).to eq("redis://localhost") expect(Gush.configuration.concurrency).to eq(25) - expect(Gush.configuration.environment).to eq('production') end end end