diff --git a/spec/aruba/matchers/command/have_output_size_spec.rb b/spec/aruba/matchers/command/have_output_size_spec.rb index 76e5bd47a..acceecc00 100644 --- a/spec/aruba/matchers/command/have_output_size_spec.rb +++ b/spec/aruba/matchers/command/have_output_size_spec.rb @@ -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" } diff --git a/spec/aruba/matchers/command_spec.rb b/spec/aruba/matchers/command_spec.rb index dd1fb937f..4083d1fab 100644 --- a/spec/aruba/matchers/command_spec.rb +++ b/spec/aruba/matchers/command_spec.rb @@ -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" } diff --git a/spec/aruba/matchers/path_spec.rb b/spec/aruba/matchers/path_spec.rb index 560974132..d463395d0 100644 --- a/spec/aruba/matchers/path_spec.rb +++ b/spec/aruba/matchers/path_spec.rb @@ -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) }