diff options
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/integer/shared/equal.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/marshal/shared/load.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/rational/comparison_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/integer/shared/equal.rb b/spec/ruby/core/integer/shared/equal.rb index 03416b60f5..4a5a236ffa 100644 --- a/spec/ruby/core/integer/shared/equal.rb +++ b/spec/ruby/core/integer/shared/equal.rb @@ -11,7 +11,7 @@ describe :integer_equal, shared: true do 10.send(@method, bignum_value).should == false end - it "calls 'other == self' if the given argument is not a Integer" do + it "calls 'other == self' if the given argument is not an Integer" do 1.send(@method, '*').should == false obj = mock('one other') diff --git a/spec/ruby/core/marshal/shared/load.rb b/spec/ruby/core/marshal/shared/load.rb index 85e645507f..e63fd8adda 100644 --- a/spec/ruby/core/marshal/shared/load.rb +++ b/spec/ruby/core/marshal/shared/load.rb @@ -667,7 +667,7 @@ describe :marshal_load, shared: true do end end - describe "for a Integer" do + describe "for an Integer" do it "loads 0" do Marshal.send(@method, "\004\bi\000").should == 0 Marshal.send(@method, "\004\bi\005").should == 0 diff --git a/spec/ruby/core/rational/comparison_spec.rb b/spec/ruby/core/rational/comparison_spec.rb index b2784f3e7d..9d8e7fd7ee 100644 --- a/spec/ruby/core/rational/comparison_spec.rb +++ b/spec/ruby/core/rational/comparison_spec.rb @@ -4,7 +4,7 @@ describe "Rational#<=> when passed a Rational object" do it_behaves_like :rational_cmp_rat, :<=> end -describe "Rational#<=> when passed a Integer object" do +describe "Rational#<=> when passed an Integer object" do it_behaves_like :rational_cmp_int, :<=> end |