Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions spec/generate_empty_ruby_project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
expect(result["spec/spec_helper.rb"]).to include('require_relative "../boot/finish"')
end

it "uses the generated project library path in the README" do
expect(outcome).to be_success

expect(result["README.md"]).to include(
"lib/name_space1_name_space1/name_space3_name_space4.rb"
)
end
Comment thread
zhephyn marked this conversation as resolved.

context "with all options" do
let(:homepage_url) { "https://example.com" }
let(:license) { "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion templates/README.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
TODO: Delete this and the text below, and describe your gem

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library
into a gem. Put your Ruby code in the file `lib/foobara/empty_ruby_project_generator`. To experiment with that code,
into a gem. Put your Ruby code in the file `lib/<%= org_slash_project_underscore %>.rb`. To experiment with that code,
run `bin/console` for an interactive prompt.


Expand Down
Loading