Sha256: 641dd7e61f1b28f6727807504a25501f4bb532d5496eec87f52511a04b8c554d

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

require 'noumenon'
require File.expand_path('../../../lib/noumenon/<%= @name %>', __FILE__)

require 'rspec'
require 'capybara/cucumber'
require 'noumenon/cucumber'

World do
  include RSpec::Expectations
  include RSpec::Matchers
  
  Noumenon.mount '/', Noumenon::<%= @name.split("_").collect(&:capitalize).join("") %>::Application
  
  Noumenon.theme = Noumenon::Theme.load(File.expand_path("../theme", __FILE__))
  Noumenon.content_repository = Noumenon::ContentRepository::FileSystem.new(path: File.expand_path("../content/pages"))
  Noumenon.asset_repository = Noumenon::AssetRepository::FileSystem.new(path: File.expand_path("../content/assets"))
  
  Capybara.app = Noumenon.server
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
noumenon-0.2.3 generators/application/features/support/env.rb