Permalink
Browse files

Change wording of spec description strings

  • Loading branch information...
1 parent 6fbfd05 commit 12e175692534c8d932c4c574c2d895dfc651e102 @DanielVartanov committed Dec 7, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/ruby/optional/ffi/struct_spec.rb
@@ -406,7 +406,7 @@ module LibTest
end
describe "when derived class is not assigned to any constant" do
- it "is able to use built-in types" do
+ it "resolves a built-in type" do
klass = Class.new FFI::Struct
klass.layout :number, :int
@@ -417,7 +417,7 @@ module LibTest
end
describe "when derived class is assigned to a constant" do
- it "is able to use built-in types" do
+ it "resolves a built-in type" do
class FFISpecs::TestStruct < FFI::Struct
layout :number, :int
end
@@ -427,7 +427,7 @@ class FFISpecs::TestStruct < FFI::Struct
FFISpecs::LibTest.ptr_ret_int32_t(instance, 0).should == 0xA1
end
- it "is able to use custom types from enclosing module" do
+ it "resolves a type from the enclosing module" do
module FFISpecs::LibTest
typedef :uint, :custom_int

0 comments on commit 12e1756

Please sign in to comment.