diff options
Diffstat (limited to 'spec/ruby/language/optional_assignments_spec.rb')
-rw-r--r-- | spec/ruby/language/optional_assignments_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/language/optional_assignments_spec.rb b/spec/ruby/language/optional_assignments_spec.rb index c104d08253..0ab28985ed 100644 --- a/spec/ruby/language/optional_assignments_spec.rb +++ b/spec/ruby/language/optional_assignments_spec.rb @@ -207,7 +207,7 @@ describe 'Optional variable assignments' do Object::A.should == 10 end - it 'with &&= assignments will fail with non-existant constants' do + it 'with &&= assignments will fail with non-existent constants' do lambda { Object::A &&= 10 }.should raise_error(NameError) end @@ -219,7 +219,7 @@ describe 'Optional variable assignments' do Object::A.should == 30 end - it 'with operator assignments will fail with non-existant constants' do + it 'with operator assignments will fail with non-existent constants' do lambda { Object::A += 10 }.should raise_error(NameError) end end |