Commit 7919093c authored by pbair's avatar pbair

Remove duplicate let block in spec

parent 76d3607f
...@@ -658,8 +658,6 @@ describe Gitlab::Database::MigrationHelpers do ...@@ -658,8 +658,6 @@ describe Gitlab::Database::MigrationHelpers do
end end
context 'when a column limit is set' do context 'when a column limit is set' do
let(:column) { Project.columns.find { |c| c.name == "id" } }
it 'adds the column with a limit' do it 'adds the column with a limit' do
allow(model).to receive(:transaction_open?).and_return(false) allow(model).to receive(:transaction_open?).and_return(false)
allow(model).to receive(:transaction).and_yield allow(model).to receive(:transaction).and_yield
......
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