~cytrogen/masto-fe

ref: a0bc0619caf045f912e49bb2ddfe1e7c0a9bc0bc masto-fe/spec/lib/mastodon/cli_spec.rb -rw-r--r-- 312 bytes
a0bc0619 — Claire [Glitch] Use JSX syntax for Fragments 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

require 'rails_helper'
require 'cli'

describe Mastodon::CLI do
  describe 'version' do
    it 'returns the Mastodon version' do
      expect { described_class.new.invoke(:version) }.to output(
        a_string_including(Mastodon::Version.to_s)
      ).to_stdout
    end
  end
end