Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.
/ mocha-issue-92 Public archive

Attempt to reproduce bug described in Mocha issue #92

Notifications You must be signed in to change notification settings

mocha-rb/mocha-issue-92

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mocha issue 92

This is a Rails project which attempts to reproduce the issue seen in Mocha issue 92.

What I did

I basically followed the minitest-rails instructions as follows :-

$ rails new mocha-issue-92 --skip-test-unit
# Gemfile
group :test, :development do
  gem 'minitest', '3.2.0'
  gem 'minitest-rails'
  gem 'mocha', require: false
end
$ bundle install
$ rails generate mini_test:install
# test/minitest_helper.rb (at bottom of file)
require "mocha"
$ rails generate model User
# test/models/user_test.rb (uncommented following lines)
test "the truth" do
  assert true
end
$ rake db:create:all
$ rake db:migrate
$ rake minitest

Run options: --seed 27614

# Running tests:

.

Finished tests in 0.095963s, 10.4207 tests/s, 10.4207 assertions/s.

1 tests, 1 assertions, 0 failures, 0 errors, 0 skips

About

Attempt to reproduce bug described in Mocha issue #92

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published