Sha256: 1411060cc550648851aa6a4ba3665923ce9458b3d09c58531eea6d5d8b190003
Contents?: true
Size: 400 Bytes
Versions: 7
Compression:
Stored size: 400 Bytes
Contents
shared_examples_for "flow DSL method" do let(:flow) {dsl.flow} it "creates a Shoes::Flow" do expect(flow).to be_an_instance_of(Shoes::Flow) end it 'reports an instance of Shoes::App when asked for its app' do expect(flow.app.class).to eq Shoes::App end it 'reports an object that responds to stack when asked for its app' do expect(flow.app).to respond_to :stack end end
Version data entries
7 entries across 7 versions & 4 rubygems