spec/kitabu/cli/version_spec.rb in kitabu-1.0.5 vs spec/kitabu/cli/version_spec.rb in kitabu-1.0.6

- old
+ new

@@ -3,10 +3,10 @@ describe Kitabu::Cli do context "while running version" do it "outputs version" do %w[version -v --version].each do |arg| output = capture(:stdout){ Kitabu::Cli.start([arg]) }.chomp - output.should == "Kitabu version #{Kitabu::Version::STRING}" + expect(output).to eq("Kitabu version #{Kitabu::Version::STRING}") end end end end