spec/lib/yaml_spec.rb in foreplay-0.15.2 vs spec/lib/yaml_spec.rb in foreplay-0.15.4

- old
+ new

@@ -7,14 +7,14 @@ it 'uses the expected YAML version' do expect(YAML::VERSION).to eq '2.0.5' # The escaping below changes with different YAML versions end it 'correctly escape a basic string' do - expect(YAML.escape 'brian').to eq('brian') + expect(YAML.escape('brian')).to eq('brian') end it 'correctly escape a troublesome string' do - expect(YAML.escape '{{moustache}} beard').to eq('"{{moustache}} beard"') - expect(YAML.escape "Brian O'Brien").to eq("Brian O'Brien") + expect(YAML.escape('{{moustache}} beard')).to eq('"{{moustache}} beard"') + expect(YAML.escape("Brian O'Brien")).to eq("Brian O'Brien") end end end