Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Improve Minitest gem template #3513

Merged
merged 1 commit into from
Mar 26, 2015

Conversation

arthurnn
Copy link
Member

Default minitest test/ folder structure should be:

  • test/test_helper.rb
  • test/GEMNAME_test.rb

[fixes #3512]

review @indirect @andremedeiros
cc @yuriihabrusiev

Default minitest test/ folder structure should be:
- test/test_helper.rb
- test/GEMNAME_test.rb

[fixes rubygems#3512]
@simi
Copy link
Member

simi commented Mar 26, 2015

👍 I was thinking about similar PR few days ago.

@@ -499,20 +499,20 @@ def create_temporary_dir(dir)
end

it "builds spec skeleton" do
expect(bundled_app("test-gem/test/test_test/gem.rb")).to exist
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test illustrate this PR!
bundle gem test-gem would generete:
before: test-gem/test/test_test/gem.rb
after: test-gem/test/test/gem_test.rb

@indirect
Copy link
Member

Yep, seems legit. Thanks!

indirect added a commit that referenced this pull request Mar 26, 2015
@indirect indirect merged commit 569c45a into rubygems:master Mar 26, 2015
@arthurnn arthurnn deleted the better_minitest_template branch March 26, 2015 18:24
@yuriihabrusiev
Copy link

👍

@coilysiren coilysiren modified the milestone: Release Archive Oct 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minitest template is wrong
5 participants