spec/get_spec.rb in ncmb-ruby-client-0.0.1 vs spec/get_spec.rb in ncmb-ruby-client-0.0.2
- old
+ new
@@ -34,9 +34,9 @@
]
}
}
}
}
- signature = @ncmb.generate_signature :get, "/#{@ncmb.api_version}/classes/Venue", "2014-05-20T04:55:16.395Z", params
+ signature = @ncmb.generate_signature :get, "/#{@ncmb.api_version}/classes/Venue", URI.escape("2014-05-20T04:55:16.395Z", /[^-_.!~*'()a-zA-Z\d]/u), params
expect(signature).to eq("sqlhM3xxNPUxFWDHQ5CdDqBp6dInU/YkO2PzuY31Pbk=")
end
end