Skip to content

Commit

Permalink
Merge pull request #547 from cucumber/improve-spec-isolation-still
Browse files Browse the repository at this point in the history
Improve spec isolation by not blanket-including Aruba
  • Loading branch information
mvz authored Mar 6, 2018
2 parents a0e22aa + 66ed5ac commit eb62845
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 eb62845

Please sign in to comment.