spec/mc_settings_spec.rb in mc-settings-0.1.2 vs spec/mc_settings_spec.rb in mc-settings-0.1.3
- old
+ new
@@ -50,9 +50,15 @@
end
it "should create keys if it does not exist" do
Setting.test_specific.should == "exist"
end
+
+ context "working with arrays" do
+ it "should replace the whole array instead of appending new values" do
+ Setting.nested_array.should == ['first', 'four', 'five']
+ end
+ end
end
context "When running with threads" do
it "should keep its values" do
3.times do |time|
\ No newline at end of file