Sha256: 41485023f27f11b5b687d1ad69c171d85350ae662c47ad1f8a6d49306f255a2d
Contents?: true
Size: 452 Bytes
Versions: 5
Compression:
Stored size: 452 Bytes
Contents
require 'spec_helper' describe "Quickl.super_command" do subject{ Quickl.super_command(cmd) } describe "on a command class" do let(:cmd){ MiniClient::Say::Hello } it{ should eq(MiniClient::Say) } end describe "on a command instance" do let(:cmd){ MiniClient::Say::Hello.new } it{ should eq(MiniClient::Say) } end describe "with no super command" do let(:cmd){ MiniClient } it{ should be_nil } end end
Version data entries
5 entries across 5 versions & 1 rubygems