use variable in shared context

pull/4246/head
Jens Ulferts 9 years ago
parent da7b1d1c40
commit 143400629c
  1. 2
      spec/lib/api/v3/work_packages/base_contract_spec.rb

@ -67,7 +67,7 @@ describe ::API::V3::WorkPackages::BaseContract do
let(:changed_values) { [attribute] }
it('is invalid') do
expect(contract.errors.symbols_for(:done_ratio)).to match_array([:error_readonly])
expect(contract.errors.symbols_for(attribute)).to match_array([:error_readonly])
end
end

Loading…
Cancel
Save