spec/tty/system/editor/executables_spec.rb in tty-0.0.11 vs spec/tty/system/editor/executables_spec.rb in tty-0.1.0
- old
+ new
@@ -1,13 +1,13 @@
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
require 'spec_helper'
describe TTY::System::Editor, '#executables' do
let(:object) { described_class }
subject { object.executables }
- it { should be_an Array }
+ it { is_expected.to be_an Array }
- it { should include('vi') }
+ it { is_expected.to include('vi') }
end