spec/config_spec.rb in rock_config-0.0.2 vs spec/config_spec.rb in rock_config-0.0.3
- old
+ new
@@ -1,10 +1,10 @@
require "spec_helper"
module RockConfig
describe Config do
it "accepts a hash" do
- hash = {foo: "bar"}
+ hash = {:foo => "bar"}
config = Config.new(hash)
config.raw.should eq(hash)
end