spec/smoke_spec.rb in benschwarz-smoke-0.4.1 vs spec/smoke_spec.rb in benschwarz-smoke-0.4.2
- old
+ new
@@ -40,12 +40,12 @@
it "should have at least one default configuration" do
Smoke.config.keys.should_not be_empty
end
it "should allow overwriting default configurations" do
- key = Smoke.config.keys.first
- Smoke.configure {|c| c[key] = true }
- Smoke.config[key].should be_true
+ key = :user_agent
+ Smoke.configure {|c| c[key] = "Smoke, dude" }
+ Smoke.config[key].should == "Smoke, dude"
end
end
end
end
\ No newline at end of file