Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add minitest-focus gem
minitest-test allows you to only run one test by adding the keyword
"focus" above the test.

e.g

```
focus
should "only run this test" do
  # test stuff
end
```
  • Loading branch information
leenagupte authored and ikennaokpala committed Nov 7, 2016
1 parent d509dfb commit 3617479
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -43,6 +43,7 @@ group :test do
gem 'capybara', '2.1.0'
gem 'ci_reporter'
gem 'minitest', '~> 5.1'
gem 'minitest-focus', '~> 1.1', '>= 1.1.2'
gem 'mocha', '1.1.0', require: false
gem 'poltergeist', '1.6.0'
gem 'shoulda', '~> 3.5.0'
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Expand Up @@ -120,6 +120,8 @@ GEM
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.9.1)
minitest-focus (1.1.2)
minitest (>= 4, < 6)
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.12.1)
Expand Down Expand Up @@ -281,6 +283,7 @@ DEPENDENCIES
lrucache (= 0.1.4)
method_source
minitest (~> 5.1)
minitest-focus (~> 1.1, >= 1.1.2)
mocha (= 1.1.0)
nokogiri
parser
Expand Down

0 comments on commit 3617479

Please sign in to comment.