[Bug 1040453] Review Request: rubygem-rspec-longrun - RSpec formatter for long-running specs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1040453



--- Comment #7 from Vít Ondruch <vondruch@xxxxxxxxxx> ---
(In reply to Björn "besser82" Esser from comment #5)
> (In reply to Björn "besser82" Esser from comment #4)
> > (In reply to Vít Ondruch from comment #2)
> > > * Bundler, Rake
> > >   - We are typically trying to get rid of these (an usually quite
> > > successfully).
> > 
> > How would one usually accoplish this?!?  I'm actually new to Ruby stuff and
> > need to learn about that  :(  In fact this is my 2nd rubygem-package.
> 
> Already figured out for this one.  :D  I just needed to replace
> 
> %check
> rake
> 
>   with
> 
> %check
> ruby	-S rspec spec/rspec/longrun/formatter_spec.rb			\
> 	--colour --format nested
> 
> and `YEAH!`, I could drop the BuildRequires on bundler and rake.  :)

That is one possibility, the easier one is:

rspec spec

The example is actually in guidelines ;) I also suggest to run the test suite
on "build" gem, not the "expanded", i.e. surroudn the execution by "pushd
.%{gem_instdir} ... popd"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]