Fuubar is an instafailing RSpec formatter that uses a progress bar instead of a string of letters and dots as feedback.
Used 21 times
E
Emanuele Bonanno
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/x9Qs2G"
Template Source
Review the code before running this template on your machine.
inject_into_file 'Gemfile', after: 'group :development, :test do' do
<<-RUBY
gem 'fuubar', require: false
RUBY
end
after_bundle do
file 'spec/support/fuubar.rb', <<~CODE
RSpec.configure do |config|
config.add_formatter 'Fuubar'
config.fuubar_auto_refresh = true
end
CODE
end