spec/auto_includes_spec.rb in contentful-0.3.4 vs spec/auto_includes_spec.rb in contentful-0.3.5

- old
+ new

@@ -1,12 +1,12 @@ require 'spec_helper' describe 'Auto-include resources' do - let(:entries){ vcr('entries'){ create_client.entries } } # entries come with asset includes + let(:entries) { vcr('entries') { create_client.entries } } # entries come with asset includes it 'replaces Contentful::Links which are actually included with the resource' do asset = entries.items[1].fields[:image] - expect( asset ).not_to be_a Contentful::Link - expect( asset ).to be_a Contentful::Asset + expect(asset).not_to be_a Contentful::Link + expect(asset).to be_a Contentful::Asset end -end \ No newline at end of file +end