Sha256: 7b71f4a12f2023c13a2d06ff4b49f8820a95e6ec0780dcda37b362aa1a516b9a
Contents?: true
Size: 591 Bytes
Versions: 3
Compression:
Stored size: 591 Bytes
Contents
require 'spec_helper' class MyControlledExec < Controll::Executor::Controlled controller_methods :hello end class MyAwesomeController def hello "hello" end end describe Controll::Executor::Controlled do subject { MyControlledExec.new controller } let(:controller) { MyAwesomeController.new } describe '.method_missing' do specify do subject.hello.should == 'hello' end specify do expect { subject.bye }.to raise_error end end describe '.execute' do end describe '.result' do end describe 'self.execute &block' do end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
controll-0.3.2 | spec/controll/executor/controlled_spec.rb |
controll-0.3.1 | spec/controll/executor/controlled_spec.rb |
controll-0.3.0 | spec/controll/executor/controlled_spec.rb |