test/hal_links_test.rb in roar-0.12.9 vs test/hal_links_test.rb in roar-1.0.0.beta1
- old
+ new
@@ -1,14 +1,14 @@
require 'ostruct'
require 'test_helper'
-require 'roar/representer/json/hal'
+require 'roar/json/hal'
class HalLinkTest < MiniTest::Spec
let(:rpr) do
Module.new do
- include Roar::Representer::JSON
- include Roar::Representer::JSON::HAL::Links
+ include Roar::JSON
+ include Roar::JSON::HAL::Links
link :self do
"//songs"
end
end
end