summaryrefslogtreecommitdiff
path: root/spec/ruby/library/uri/shared/join.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/uri/shared/join.rb')
-rw-r--r--spec/ruby/library/uri/shared/join.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/uri/shared/join.rb b/spec/ruby/library/uri/shared/join.rb
index 4df0782b37..b1f5f1c72b 100644
--- a/spec/ruby/library/uri/shared/join.rb
+++ b/spec/ruby/library/uri/shared/join.rb
@@ -20,7 +20,7 @@ describe :uri_join, shared: true do
it "raises an error if given no argument" do
-> {
@object.join
- }.should raise_error(ArgumentError)
+ }.should.raise(ArgumentError)
end
it "doesn't create redundant '/'s" do