summaryrefslogtreecommitdiff
path: root/spec/ruby/core/struct/each_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/struct/each_spec.rb')
-rw-r--r--spec/ruby/core/struct/each_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/struct/each_spec.rb b/spec/ruby/core/struct/each_spec.rb
index 41c0fbd4d0..4fbdfee02a 100644
--- a/spec/ruby/core/struct/each_spec.rb
+++ b/spec/ruby/core/struct/each_spec.rb
@@ -19,7 +19,7 @@ describe "Struct#each" do
it "returns an Enumerator if not passed a block" do
car = StructClasses::Car.new('Ford', 'Ranger')
- car.each.should be_an_instance_of(Enumerator)
+ car.each.should.instance_of?(Enumerator)
end
it_behaves_like :struct_accessor, :each