Sha256: 37632cc7c3b41bd329b11b33fb340d57db64b2aa80af5e19d08034e1daabeb20
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
Feature: Load Page Objects Formulas should be loaded in the correct order with thier dependencies Scenario: Load the libs first Given I run `bundle exec ckit new big-project` And I cd to "big-project" And a file named "config.yaml" with: """ selenium_connect: host: 'localhost' """ And a file named "formulas/big.rb" with: """ module Formulas class BigProject < Formula def open(url) helper_open(url) end end end """ And a file named "formulas/lib/formula.rb" with: """ module Formulas class Formula < ChemistryKit::Formula::Base def helper_open(url) @driver.get url end end end """ And a file named "beakers/big_beaker.rb" with: """ describe "Big", :depth => 'shallow' do let(:book) { Formulas::BigProject.new(@driver) } it "loads an external web page" do book.open "http://www.google.com" end end """ When I run `bundle exec ckit brew` Then the stdout should contain "1 example, 0 failures"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chemistrykit-3.10.1 | features/load_page_objects.feature |
chemistrykit-3.10.0 | features/load_page_objects.feature |