Commit cfee7a8b authored by Stan Hu's avatar Stan Hu

Add additional spec to test predicate method

parent c7303b1a
......@@ -484,6 +484,7 @@ RSpec.describe Project, factory_default: :keep do
it 'returns expected value' do
expect(project.merge_requests_author_approval).to eq(return_value)
expect(project.merge_requests_author_approval?).to eq(return_value)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment