Skip to content

Commit

Permalink
Improve spec isolation by not blanket-including Aruba
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Mar 6, 2018
1 parent a0e22aa commit 66ed5ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion spec/aruba/api/deprecated_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def actual_permissions
end

it "raises a descriptive exception" do
expect { @aruba.get_process("false") }.to raise_error CommandNotFoundError, "No command named 'false' has been started"
expect { @aruba.get_process("false") }.to raise_error Aruba::CommandNotFoundError, "No command named 'false' has been started"
end
end
end
3 changes: 0 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,3 @@
Dir.glob(::File.expand_path('../support/*.rb', __FILE__)).each { |f| require_relative f }
Dir.glob(::File.expand_path('../support/**/*.rb', __FILE__)).each { |f| require_relative f }
end

# Avoid writing "describe LocalPac::MyClass do [..]" but "describe MyClass do [..]"
include Aruba

0 comments on commit 66ed5ac

Please sign in to comment.