spec/controllers/landable/api_controller_spec.rb in landable-1.13.2 vs spec/controllers/landable/api_controller_spec.rb in landable-1.14.0

- old
+ new

@@ -160,10 +160,10 @@ describe 'responder' do before(:each) do controller.instance_variable_set :@resource, resource end - let(:resource) { build :author } + let(:resource) { create :author } it 'should set X-Landable-Media-Type' do get :responder response.status.should eq 200 response.headers['X-Landable-Media-Type'].should eq "landable.v#{Landable::VERSION::STRING}; format=json"