Use block style instead
This commit is contained in:
parent
49ca993074
commit
8aadd14cea
@ -45,12 +45,14 @@ describe Utils::Git do
|
|||||||
end
|
end
|
||||||
|
|
||||||
let(:file) { "README.md" }
|
let(:file) { "README.md" }
|
||||||
let(:file_hash1) { @h1[0..6] } # rubocop:disable RSpec/InstanceVariable
|
# rubocop:disable RSpec/InstanceVariable
|
||||||
let(:file_hash2) { @h2[0..6] } # rubocop:disable RSpec/InstanceVariable
|
let(:file_hash1) { @h1[0..6] }
|
||||||
|
let(:file_hash2) { @h2[0..6] }
|
||||||
let(:files) { ["README.md", "LICENSE.txt"] }
|
let(:files) { ["README.md", "LICENSE.txt"] }
|
||||||
let(:files_hash1) { [@h3[0..6], ["LICENSE.txt"]] } # rubocop:disable RSpec/InstanceVariable
|
let(:files_hash1) { [@h3[0..6], ["LICENSE.txt"]] }
|
||||||
let(:files_hash2) { [@h2[0..6], ["README.md"]] } # rubocop:disable RSpec/InstanceVariable
|
let(:files_hash2) { [@h2[0..6], ["README.md"]] }
|
||||||
let(:cherry_pick_commit) { @cherry_pick_commit[0..6] } # rubocop:disable RSpec/InstanceVariable
|
let(:cherry_pick_commit) { @cherry_pick_commit[0..6] }
|
||||||
|
# rubocop:enable RSpec/InstanceVariable
|
||||||
|
|
||||||
describe "#cherry_pick!" do
|
describe "#cherry_pick!" do
|
||||||
it "can cherry pick a commit" do
|
it "can cherry pick a commit" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user