Comments (11)
Hmmm, the minutest_tu_shim does not have that shim :/ Lemme look into this.
from minitest-spec-rails.
I will be releasing 4.7.1 soon. Since it looks like you are on Ruby 1.8, you will need to heed this new section in the README. Basically add this to your Gemfile till you get off 1.8.
gem 'minitest-spec-rails-tu-shim'
from minitest-spec-rails.
Hmm, I still can't find a solution for using 'minitest-spec-rails-tu-shim' that works across Ruby versions correctly:
https://travis-ci.org/resque/resque-web/builds/5637234
The problem is I can't have Bundler selectively include gems on JRuby in 1.8 mode only.
Could you make the minitest-spec-rails-tu-shim
gem installable on Ruby 1.9, but in "noop" mode?
from minitest-spec-rails.
I suppose. Are you working in a cross ruby version env that needs to transition? If so, that makes sense.
from minitest-spec-rails.
But... not really. The problem is, if that gem is installed and part of your bundle, you can not get to the proper standard lib/test. So no, this can not be done.
from minitest-spec-rails.
Well, more or less... this is for resque which is used by many people in a variety of different Ruby environments.
from minitest-spec-rails.
But this should be "dev" dependencies right?
from minitest-spec-rails.
Doesn't matter... they're managed by Bundler, and I cannot get Bundler to pick the correct dependencies. If I tell it :platform => :ruby_18
then it doesn't get loaded on JRuby, since there are not separate :jruby_18
and :jruby_19
platforms in Bundler
from minitest-spec-rails.
@tarcieri BTW, did you see how I made my soft dev dependency in the Gemfile?
https://github.com/metaskills/minitest-spec-rails/blob/master/Gemfile
This way when I build using appraisal and travis, it all just works.
from minitest-spec-rails.
This will produce varying versions of Gemfile.lock depending on what version of Ruby you bundle under, which is kind of a nonstarter for me.
The real solution would be for Bundler to separate the :jruby_18
and :jruby_19
platforms.
from minitest-spec-rails.
I empathize, this is a tricky spot. But that gem can not be part of a 1.9 bundle, once it is, the damage is done.
from minitest-spec-rails.
Related Issues (20)
- Initialization autoloaded the constants ActionText::ContentHelper using Rails 6.0.3.1 HOT 1
- stack level too deep HOT 2
- Issue testing Helpers after upgrading to Rails 6.1
- Cheetsheet link dead HOT 2
- Deprecation warning when used with flipper/prawn-rails HOT 2
- Rspec-rails and Minitest-spec-rails HOT 3
- Cheat sheet missing? HOT 1
- Using string instead of constant for describe argument causes data leakage
- Interview partners for research about communication in GitHub projects wanted
- Use new Minitest constant over MiniTest HOT 1
- Breaks order setting for Rails and Minitest HOT 7
- rails 5 test outputs wrong location of test case HOT 17
- Shouldn't depend on rails gem HOT 3
- When test methods are mixed with describe blocks, they get run multiple times sometimes. HOT 3
- more information HOT 4
- Rails 3.2: empty test is ran after every rake command HOT 6
- Rails 5 support? HOT 1
- Pararallel testing HOT 9
- Rails 6 errors current_server': DRb::DRbServerNotFound (DRb::DRbConnError) HOT 6
- Unable to run tests locally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minitest-spec-rails.