diff options
Diffstat (limited to 'spec/ruby/library/openstruct')
-rw-r--r-- | spec/ruby/library/openstruct/frozen_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/openstruct/frozen_spec.rb b/spec/ruby/library/openstruct/frozen_spec.rb index 27931fe5ac..142adcb278 100644 --- a/spec/ruby/library/openstruct/frozen_spec.rb +++ b/spec/ruby/library/openstruct/frozen_spec.rb @@ -14,7 +14,7 @@ describe "OpenStruct.new when frozen" do @os.name.should == "John Smith" end - it "is not writeable" do + it "is not writable" do lambda{ @os.age = 42 }.should raise_error( RuntimeError ) end |