Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ed9fc85

Browse files
committedMay 26, 2015
remove ruby_version_is guard for Kernel#itself specs
1 parent 2ad0b7c commit ed9fc85

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
 

Diff for: ‎spec/ruby/core/kernel/itself_spec.rb

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
require File.expand_path('../fixtures/classes', __FILE__)
33

44
describe "Kernel#itself" do
5-
ruby_version_is "2.2" do
6-
it "returns the receiver itself" do
7-
foo = Object.new
8-
foo.itself.should equal foo
9-
foo.itself.object_id.should equal foo.object_id
10-
end
5+
it "returns the receiver itself" do
6+
foo = Object.new
7+
foo.itself.should equal foo
8+
foo.itself.object_id.should == foo.object_id
119
end
1210
end

0 commit comments

Comments
 (0)
Please sign in to comment.