summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMichael Herold <michael.j.herold@gmail.com>2017-02-22 06:42:06 -0600
committerMichael Herold <michael.j.herold@gmail.com>2017-02-22 06:42:06 -0600
commitde7c56a8c8677cbd30b105e656537e8f76c0e4df (patch)
treefbbf2ba43f2c8086628f3a7b2d41ef3e3d181f93 /spec
parentc08abac9a74b290eca7d130d95630bddc5d2ebca (diff)
downloadhashie-de7c56a8c8677cbd30b105e656537e8f76c0e4df.tar.gz
Squelch an RSpec warning on an integration test
Diffstat (limited to 'spec')
-rw-r--r--spec/integration/rails-without-dependency/integration_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/rails-without-dependency/integration_spec.rb b/spec/integration/rails-without-dependency/integration_spec.rb
index 34f8863..650370d 100644
--- a/spec/integration/rails-without-dependency/integration_spec.rb
+++ b/spec/integration/rails-without-dependency/integration_spec.rb
@@ -9,7 +9,7 @@ RSpec.describe 'partial-rails' do
end
it 'does not raise an exception when we require hashie' do
- expect { require 'hashie' }.not_to raise_exception(LoadError)
+ expect { require 'hashie' }.not_to raise_error
end
end
end