summaryrefslogtreecommitdiff
path: root/spec/ruby/library/stringio/stringio_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/stringio/stringio_spec.rb')
-rw-r--r--spec/ruby/library/stringio/stringio_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/ruby/library/stringio/stringio_spec.rb b/spec/ruby/library/stringio/stringio_spec.rb
index 9e2cb9cf90..dee0364ab0 100644
--- a/spec/ruby/library/stringio/stringio_spec.rb
+++ b/spec/ruby/library/stringio/stringio_spec.rb
@@ -1,9 +1,8 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
require "stringio"
describe "StringIO" do
it "includes the Enumerable module" do
- StringIO.should include(Enumerable)
+ StringIO.should.include?(Enumerable)
end
end
-