teamocil/spec/layout.rb
2011-10-08 11:50:17 -04:00

14 lines
341 B
Ruby

require File.join(File.dirname(__FILE__), "spec_helper.rb")
describe Teamocil::Layout do
context "initializing" do
it "create two windows" do # {{{
layout = Teamocil::Layout.new(examples["two-windows"], {})
commands = layout.generate_commands
commands.grep(/new-window/).length.should be 2
end # }}}
end
end