spec/unit/formatter/mean_byte_spec.rb in tty-progressbar-0.8.0 vs spec/unit/formatter/mean_byte_spec.rb in tty-progressbar-0.8.1
- old
+ new
@@ -1,9 +1,7 @@
-# coding: utf-8
+# encoding: utf-8
-require 'spec_helper'
-
-RSpec.describe TTY::ProgressBar, 'mean_byte' do
+RSpec.describe TTY::ProgressBar, ':mean_byte token' do
let(:output) { StringIO.new('', 'w+') }
before { Timecop.safe_mode = false }
it "shows mean rate in bytes per sec" do