Skip to content

Commit

Permalink
Fix RSpec/EmptyHook RuboCop offense
Browse files Browse the repository at this point in the history
  • Loading branch information
Dany Marcoux committed May 4, 2020
1 parent da18aab commit 8bc95ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/spec/models/project/image_template_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@
end

context 'with two remote instances' do
# The AnotherRemoteProject will simply take the request of RemoteInstance defined in the first before filter
let!(:another_remote_instance) { create(:project, name: 'AnotherRemoteProject', remoteurl: 'http://example.com/public') }
before do
# The AnotherRemoteProject will simply take the request of RemoteInstance defined in the first before filter
end

it { expect(subject.length).to eq(2) }
it { expect(subject.second.name).to eq('AnotherRemoteProject:Images') }
Expand Down

0 comments on commit 8bc95ee

Please sign in to comment.