Skip to content

Commit fcc2360

Browse files
committed
Define the named class only once in C-API Struct specs
1 parent 8b3bcb1 commit fcc2360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ruby/optional/capi/struct_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
end
6363

6464
describe "C-API Struct function" do
65-
before :each do
65+
before :all do
6666
@s = CApiStructSpecs.new
6767
@struct = @s.rb_struct_define_under(CApiStructSpecs, "CAPIStructUnder", "a", "b", "c")
6868
end

0 commit comments

Comments
 (0)