Skip to content

Commit d6d7443

Browse files
committed
Remove hard coded constant
1 parent 376ace6 commit d6d7443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RSpec.describe <%= config[:constant_name] %> do
77

88
<%- if config[:ext] == 'rust' -%>
99
it "can call into Rust" do
10-
result = Testing.hello("world")
10+
result = <%= config[:constant_name] %>.hello("world")
1111

1212
expect(result).to be("Hello earth, from Rust!")
1313
end

0 commit comments

Comments
 (0)