Skip to content

Commit 84b5455

Browse files
committed
0.9.7
1 parent 8b3a49a commit 84b5455

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jsonapi-utils.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
1919
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2020
spec.require_paths = ['lib']
2121

22-
spec.add_runtime_dependency 'jsonapi-resources', '0.9.6'
22+
spec.add_runtime_dependency 'jsonapi-resources', '0.9.7'
2323

2424
spec.add_development_dependency 'bundler', '~> 1.10'
2525
spec.add_development_dependency 'rake', '~> 10.0'

spec/controllers/posts_controller_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
expect(subject).to have_http_status :ok
173173
expect(subject).to have_primary_data('posts')
174174
expect(subject).to have_data_attributes(fields)
175-
expect(subject).to have_relationships(relationships)
175+
expect(json).to_not have_key('relationships')
176176
expect(data.dig('attributes', 'title')).to eq('Lorem ipsum')
177177
end
178178
end

0 commit comments

Comments
 (0)