Sha256: 03413077e1aacdee467354af3ee6ede77e132a6fe8613f3eb04aa7abf709bf33

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

shared_context "dsl app" do
  let(:input_block) { Proc.new {} }
  let(:input_opts) { Hash.new }
  let(:user_facing_app) { Shoes::App.new input_opts, &input_block }
  let(:app) { user_facing_app.instance_variable_get(:@__app__) }
  let(:parent) { Shoes::Flow.new app, app }
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
shoes-core-4.0.0.pre3 spec/shoes/shared_examples/dsl_app_context.rb
shoes-swt-4.0.0.pre2 spec/shoes/shared_examples/dsl_app_context.rb
shoes-dsl-4.0.0.pre2 spec/shoes/shared_examples/dsl_app_context.rb