Sha256: de5577cd63ef929663558061ac4b8debf0bccfa022c0cb8a3a0d3c9db1111e90

Contents?: true

Size: 874 Bytes

Versions: 27

Compression:

Stored size: 874 Bytes

Contents

# encoding: utf-8

require "spec"
#require "merb_cucumber/world/simple"
require "rango/support/cucumber/world/webrat"
require "rango/support/cucumber/helpers/datamapper"

# Uncomment if you want transactional fixtures
# Rango::Test::World::Base.use_transactional_fixtures

# Quick fix for post features running Rspec error, see
# http://gist.github.com/37930
def Spec.run? ; true; end

# Load shared stuff
# It is not required for running all features,
# but it is required for running just one feature
# Example: bin/cucumber features/static/static.feature
Dir["features/shared/*.rb"].each do |file|
  require file
end

# Start each step with clean DB and created default admin user
#World do |world|
#  DataMapper.auto_migrate!
#  User.generate(:admin)
#  world # must be returned
#end

# AfterStep
# or transactional?
Before do
  DataMapper.auto_migrate!
end

Rango.boot

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rango-0.2.6 stubs/features/content/env.rb
rango-0.2.5.1 stubs/features/content/env.rb
rango-0.2.4.1 stubs/features/content/env.rb
rango-0.2.3 stubs/features/content/env.rb
rango-0.2.1 stubs/features/content/env.rb
rango-0.2.1.pre stubs/features/content/env.rb
rango-0.2 stubs/features/content/env.rb
rango-0.1.1.3 stubs/features/content/env.rb
rango-0.1.1.2.11 stubs/features/content/env.rb
rango-0.1.1.2.10 stubs/features/content/env.rb
rango-0.1.1.2.9 stubs/features/content/env.rb
rango-0.1.1.2.8 stubs/features/content/env.rb
rango-0.1.1.2.7 stubs/features/content/env.rb
rango-0.1.1.2.6 stubs/features/content/env.rb
rango-0.1.1.2.5 stubs/features/content/env.rb
rango-0.1.1.2.4 stubs/features/content/env.rb
rango-0.1.1.2.3 stubs/features/content/env.rb
rango-0.1.1.2.2 stubs/features/content/env.rb
rango-0.1.1.2.1 stubs/features/content/env.rb
rango-0.2.pre stubs/features/content/env.rb