Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'spec_helper'
- describe V1::Public::ResourceRoar do
- before do
- @resource = create(:resource)
- @resource.extend(V1::Public::ResourceRoar)
- @resource.path = path
- @resource.to_json
- end
- context 'When a resource_id is provided' do
- it 'returns a self a link' do
- puts "#{@resource.schedule.schedule_prices} XX"
- expect(@resource).to have_links(%w{self items address})
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement