Skip to content

Commit

Permalink
Merge pull request #923 from cucumber/remove-superfluous-rspec-helper…
Browse files Browse the repository at this point in the history
…-methods

Remove superfluous method definitions from specs
  • Loading branch information
mvz authored Apr 1, 2024
2 parents 207fa6f + 9fff969 commit 8bb4b02
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions spec/aruba/matchers/command/have_output_size_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
RSpec.describe "Output Matchers" do
include_context "uses aruba API"

def expand_path(*args)
@aruba.expand_path(*args)
end

describe "#to_have_output_size" do
let(:obj) { "string" }

Expand Down
8 changes: 0 additions & 8 deletions spec/aruba/matchers/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
RSpec.describe "Command Matchers" do
include_context "uses aruba API"

def expand_path(*args)
@aruba.expand_path(*args)
end

def announcer(*args)
@aruba.send(:announcer, *args)
end

describe "#to_have_exit_status" do
let(:cmd) { "true" }

Expand Down
4 changes: 0 additions & 4 deletions spec/aruba/matchers/path_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
RSpec.describe "Path Matchers" do
include_context "uses aruba API"

def expand_path(*args)
@aruba.expand_path(*args)
end

describe "to_be_an_absolute_path" do
let(:name) { @file_name }
let(:path) { @aruba.expand_path(name) }
Expand Down

0 comments on commit 8bb4b02

Please sign in to comment.