test/citrix/training/resource/training_test.rb in citrix-0.2.1 vs test/citrix/training/resource/training_test.rb in citrix-0.2.2
- old
+ new
@@ -1,10 +1,10 @@
require "test_helper"
module TrainingTest
class ResourceTest < Minitest::Test
let(:attributes) {
- JSON.load(fixtures.join("training.json").read)
+ JSON.parse(fixtures.join("training.json").read)
}
test "loads all attributes" do
resource = Citrix::Training::Resource::Training.new(
Citrix::Training::Resource::Training.deserialize(attributes)