Sha256: b467bb221fda65b497b70435e1c2c53ed30d8f66eba33d9d2b9e7f432828ffc6

Contents?: true

Size: 664 Bytes

Versions: 8

Compression:

Stored size: 664 Bytes

Contents

require 'turnip/rspec'
require 'turnip_formatter'
require 'rspec/expectations'
require 'capybara'
require 'turnip/capybara'
require 'capybara/poltergeist'
require 'selenium-webdriver'
require 'gnawrnip'

# Load turnip steps
Dir.glob(File.dirname(__FILE__) + "/steps/**/*steps.rb") { |f| load f, true }

RSpec.configure do |config|
  config.add_formatter RSpecTurnipFormatter, 'report.html'
  config.add_formatter 'progress'
end

require_relative '../web'
Capybara.app = Sinatra::Application.new
Capybara.default_driver = :poltergeist
Capybara.javascript_driver = :selenium

Gnawrnip.configure do |c|
  c.make_animation = true
  c.max_frame_size = 1024 # pixel
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gnawrnip-0.8.0 example/spec/spec_helper.rb
gnawrnip-0.7.0 example/spec/spec_helper.rb
gnawrnip-0.6.0 example/spec/spec_helper.rb
gnawrnip-0.5.0 example/spec/spec_helper.rb
gnawrnip-0.4.0 example/spec/spec_helper.rb
gnawrnip-0.3.2 example/spec/spec_helper.rb
gnawrnip-0.3.1 example/spec/spec_helper.rb
gnawrnip-0.3.0 example/spec/spec_helper.rb