Sha256: cff7ad263e77defe446beb0005cf39ebea77b9708e78853ee3f8f77bb76e1bdb
Contents?: true
Size: 518 Bytes
Versions: 10
Compression:
Stored size: 518 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Reflection" do describe '#boot' do before(:each) do Reflection::CLI.stub!(:run!) end it 'should init a Home instance which represents ~/.reflection' do Reflection.boot!([]) Reflection.home.should be_kind_of(Reflection::Support::Home) end it 'should run the CLI processor' do Reflection::CLI.should_receive(:run!).with(['args']) Reflection.boot!(['args']) end end end
Version data entries
10 entries across 10 versions & 2 rubygems