Sha256: ed86d41782168e84bcc2563361103a4a5bfba8c00e127dc7024ee8841d32a805
Contents?: true
Size: 531 Bytes
Versions: 3
Compression:
Stored size: 531 Bytes
Contents
# -*- coding: utf-8 -*- require 'minitest/autorun' require 'simplecov' SimpleCov.start describe Fab do let(:fab){ Fab.new } describe "#agent" do before do @x = fab.agent end it "returns a string" do @x.must_be_kind_of String end it "is in the list" do fab.agent_list.must_include @x end end describe "#agent_list" do before do @x = [:a, :b, :c] end it "gets and sets" do fab.agent_list = @x fab.agent_list.must_equal @x end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sixarm_ruby_fab-1.0.2 | test/sixarm_ruby_fab_test/agent_test.rb |
sixarm_ruby_fab-1.0.1 | test/sixarm_ruby_fab_test/agent_test.rb |
sixarm_ruby_fab-1.0.0 | test/sixarm_ruby_fab_test/agent_test.rb |