Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove ruby_version_is guard for Kernel#itself specs
Browse files Browse the repository at this point in the history
tak1n committed May 26, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
Original file line number Diff line number Diff line change
@@ -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.