test/excon/properties_test.rb in excon-hypermedia-0.5.3 vs test/excon/properties_test.rb in excon-hypermedia-0.6.0
- old
+ new
@@ -7,21 +7,21 @@
#
# Validate the workings of `Excon::HyperResource::Resource::Properties`.
#
class PropertiesTest < Minitest::Test
def body
- <<-EOF
+ <<-JSON
{
"size": "49CM",
"bike-type": "Mountain Bike",
"derailleurs": {
"front": 3,
"back": 7
},
"reflectors": true,
"BMX": false
}
- EOF
+ JSON
end
def data
JSON.parse(body)
end