fix integration tests

pull/2516/head
Jan Sandbrink 10 years ago
parent 7f1401f40c
commit 5f67b07e95
  1. 4
      spec/requests/api/v3/work_package_resource_spec.rb

@ -502,14 +502,14 @@ h4. things we like
it { expect(response.status).to eq(200) }
it { expect(response.body).not_to have_json_path("_links/#{property}") }
it { expect(response.body).to be_json_eql(nil.to_json).at_path("_links/#{property}/href") }
it_behaves_like 'lock version updated'
end
describe 'valid' do
shared_examples_for 'valid user assignment' do
let(:title) { "#{assigned_user.name} - #{assigned_user.login}".to_json }
let(:title) { "#{assigned_user.name}".to_json }
it { expect(response.status).to eq(200) }

Loading…
Cancel
Save