Sha256: 3f1cb4ceddf4db1277f7136c529dec65cbfe99edc701f3d4b6e6cdb9ea7894ea

Contents?: true

Size: 425 Bytes

Versions: 7

Compression:

Stored size: 425 Bytes

Contents

Before do
  Acouchi::Cucumber.before
end

After do
  Acouchi::Cucumber.after
end

module Acouchi
  module Cucumber
    def self.page
      @page
    end

    def self.before
      @test_runner = TestRunner.new(@configuration)
      @test_runner.start
      @page = Solo.new
    end

    def self.after
      @test_runner.stop
    end

    def self.prepare configuration
      @configuration = configuration
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
acouchi-0.0.9 lib/acouchi/cucumber.rb
acouchi-0.0.8 lib/acouchi/cucumber.rb
acouchi-0.0.7 lib/acouchi/cucumber.rb
acouchi-0.0.6 lib/acouchi/cucumber.rb
acouchi-0.0.5 lib/acouchi/cucumber.rb
acouchi-0.0.4 lib/acouchi/cucumber.rb
acouchi-0.0.3 lib/acouchi/cucumber.rb