fix spec. not sure how this should work

This commit is contained in:
Devin Howard 2016-10-08 13:42:25 +08:00
parent 129e3db946
commit be6a2401b6

View file

@ -79,8 +79,8 @@ RSpec.describe MapsController, type: :controller do
id: unowned_map.to_param
}
end.to change(Map, :count).by(0)
expect(response.body).to eq ''
expect(response.status).to eq 403
expect(response.headers['Location']).to eq(request.base_url + root_path)
expect(response.status).to eq 302
end
it 'deletes owned map' do