Skip to content

Commit

Permalink
remove ruby_version_is guard for Kernel#itself specs
Browse files Browse the repository at this point in the history
  • Loading branch information
tak1n committed May 26, 2015
1 parent 2ad0b7c commit ed9fc85
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions spec/ruby/core/kernel/itself_spec.rb
Expand Up @@ -2,11 +2,9 @@
require File.expand_path('../fixtures/classes', __FILE__)

describe "Kernel#itself" do
ruby_version_is "2.2" do
it "returns the receiver itself" do
foo = Object.new
foo.itself.should equal foo
foo.itself.object_id.should equal foo.object_id
end
it "returns the receiver itself" do
foo = Object.new
foo.itself.should equal foo
foo.itself.object_id.should == foo.object_id
end
end

0 comments on commit ed9fc85

Please sign in to comment.