qasim/spec/cli_spec.rb

40 lines
665 B
Ruby
Raw Normal View History

2014-10-29 22:31:11 +00:00
require_relative 'spec_helper'
2015-08-10 14:58:34 +00:00
require 'minitest'
require 'pry'
2014-10-29 22:31:11 +00:00
require 'qasim/cli'
2015-08-10 14:58:34 +00:00
describe Qasim::Cli do
let(:cli) { Qasim::Cli.new }
2014-10-29 22:31:11 +00:00
2015-08-10 14:58:34 +00:00
describe '.new' do
it "can be created without arguments" do
skip "Later" #assert_instance_of Qasim::Cli, cli
end
end
describe '.list' do
it "must exist" do
assert_respond_to cli, :list
end
it "must show existing maps" do
skip "Add map. List maps. Verify added map exists"
end
end
describe '.add' do
it "must exist" do
assert_respond_to cli, :add
end
end
describe '.del' do
it "must exist" do
assert_respond_to cli, :del
end
end
2014-10-29 22:31:11 +00:00
end