qasim/spec/cli_spec.rb

40 lines
675 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-11 22:33:54 +00:00
describe 'new' do
2015-08-10 14:58:34 +00:00
it "can be created without arguments" do
skip "Later" #assert_instance_of Qasim::Cli, cli
end
end
2015-08-11 22:33:54 +00:00
describe 'list' do
2015-08-10 14:58:34 +00:00
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
2015-08-11 22:33:54 +00:00
describe 'add' do
2015-08-10 14:58:34 +00:00
it "must exist" do
2015-08-11 22:33:54 +00:00
skip "assert_respond_to cli, :add"
2015-08-10 14:58:34 +00:00
end
end
2015-08-11 22:33:54 +00:00
describe 'del' do
2015-08-10 14:58:34 +00:00
it "must exist" do
2015-08-11 22:33:54 +00:00
skip "assert_respond_to cli, :del"
2015-08-10 14:58:34 +00:00
end
end
2014-10-29 22:31:11 +00:00
end