From: Ryan Cook Date: 2013-05-30T04:22:44+09:00 Subject: Re: minitest warning --001a11c2f06844c9c104dde04e89 Content-Type: text/plain; charset=ISO-8859-1 Can you provide some of the code you're using? Not sure how to help otherwise. On Wed, May 29, 2013 at 12:10 PM, Sebastjan H. wrote: > Hi, > > I've taken up minitest and I tried a simple example to get started. I am > getting the following warning when running the test: > > ------------------------- > Warning: you should require 'minitest/autorun' instead. > From > > /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in > `require' > > /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in > `require' > > /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/autorun.rb:14:in > `' > > /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in > `require' > > /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in > `require' > ------------------------------------------------ > > I have required 'minitest/autorun' in the spec file. > > The test runs through though. > I am using the latest minitest version. > > How can I fix this? > > kind regards > seba > > -- > Posted via http://www.ruby-forum.com/. > > -- Ryan Cook 720.319.7660 --001a11c2f06844c9c104dde04e89 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Can you provide some of the code you're using? Not sur= e how to help otherwise.


On Wed, May 29, 2013 at 12:10 PM, Sebastjan H. <list= s@ruby-forum.com> wrote:
Hi,

I've taken up minitest and I tried a simple example to get started. I a= m
getting the following warning when running the test:

-------------------------
Warning: you should require 'minitest/autorun' instead.
From
/home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/c= ore_ext/kernel_require.rb:45:in
`require'
=A0 /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubyge= ms/core_ext/kernel_require.rb:45:in
`require'
=A0 /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/minitest/autorun= .rb:14:in
`<top (required)>'
=A0 /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubyge= ms/core_ext/kernel_require.rb:45:in
`require'
=A0 /home/sebah/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubyge= ms/core_ext/kernel_require.rb:45:in
`require'
------------------------------------------------

I have required 'minitest/autorun' in the spec file.

The test runs through though.
I am using the latest minitest version.

How can I fix this?

kind regards
seba

--
Posted via http://= www.ruby-forum.com/.




-- Ryan Cook
720.319.7660
--001a11c2f06844c9c104dde04e89--