Skip to content

Commit b274614

Browse files
committed
Fixed spec tests.
1 parent bdf2484 commit b274614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/html-proofer/parse_json_option_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737

3838
it 'Returns an object representing the json when valid json' do
3939
result = HTMLProofer::Configuration.parse_json_option('testName', '{ "myValue": "hello world!", "numberValue": 123}')
40-
expect(result['myValue']).to eq('hello world!')
41-
expect(result['numberValue']).to eq(123)
40+
expect(result[:myValue]).to eq('hello world!')
41+
expect(result[:numberValue]).to eq(123)
4242
end
4343

4444
it 'Throws an error when the json config is not valid json' do

0 commit comments

Comments
 (0)