Permalink
Browse files

Settings data was changed to clarify specs.

Signed-off-by: Ben Johnson <bjohnson@binarylogic.com>
  • Loading branch information...
1 parent 1dac8d4 commit ad83a5747d1483b49ca51f870682dbc668f3b808 @MitinPavel MitinPavel committed with Sep 2, 2009
Showing with 7 additions and 7 deletions.
  1. +5 −5 spec/settings.yml
  2. +2 −2 spec/settingslogic_spec.rb
View
@@ -8,9 +8,9 @@ setting1:
setting2: 5
setting3: <%= 5 * 5 %>
name: test
-a:
- b:
- d: blah
- c:
- d: hah
+language:
+ haskell:
+ paradigm: functional
+ smalltalk:
+ paradigm: object oriented
@@ -30,7 +30,7 @@
end
it "should distinguish nested keys" do
- Settings.a.b.d.should == 'blah'
- Settings.a.c.d.should == 'hah'
+ Settings.language.haskell.paradigm.should == 'functional'
+ Settings.language.smalltalk.paradigm.should == 'object oriented'
end
end

0 comments on commit ad83a57

Please sign in to comment.