Sha256: 9e6f8179a87b51747a238ac3afc55b714df55b53acb66881109ffee4a9844eb4

Contents?: true

Size: 353 Bytes

Versions: 10

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require "./test/helper"

clean_describe "update" do
  subject { run_cmd("update") }
  let(:content) { nil }

  it "prints a status message" do
    subject[:stderr].must_equal ""
    subject[:status].must_equal 0
    [/Updated to friends/, /Already up-to-date/].one? { |m| subject[:stdout] =~ m }.must_equal true
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
friends-0.40 test/commands/update_spec.rb
friends-0.39 test/commands/update_spec.rb
friends-0.38 test/commands/update_spec.rb
friends-0.37 test/commands/update_spec.rb
friends-0.36 test/commands/update_spec.rb
friends-0.35 test/commands/update_spec.rb
friends-0.34 test/commands/update_spec.rb
friends-0.33 test/commands/update_spec.rb
friends-0.32 test/commands/update_spec.rb
friends-0.31 test/commands/update_spec.rb