summaryrefslogtreecommitdiff
path: root/spec/ruby/library/socket/ancillarydata/int_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/socket/ancillarydata/int_spec.rb')
-rw-r--r--spec/ruby/library/socket/ancillarydata/int_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/socket/ancillarydata/int_spec.rb b/spec/ruby/library/socket/ancillarydata/int_spec.rb
index 75608a28b8..0d7c5e3652 100644
--- a/spec/ruby/library/socket/ancillarydata/int_spec.rb
+++ b/spec/ruby/library/socket/ancillarydata/int_spec.rb
@@ -28,13 +28,13 @@ with_feature :ancillary_data do
end
describe 'Socket::AncillaryData#int' do
- it 'returns the data as a Fixnum' do
+ it 'returns the data as an Integer' do
data = Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, 4)
data.int.should == 4
end
- it 'raises when the data is not a Fixnum' do
+ it 'raises when the data is not an Integer' do
data = Socket::AncillaryData.new(:UNIX, :SOCKET, :RIGHTS, 'ugh')
lambda { data.int }.should raise_error(TypeError)