Sha256: da3f30307e4271f18f079a0fd0a1d83f52f25e090b0917d26187a67e8fb12ebe
Contents?: true
Size: 884 Bytes
Versions: 1
Compression:
Stored size: 884 Bytes
Contents
# Load all SitePrism pages and sections Dir[ Rails.root.join('spec/pages/sections/**/*.rb'), Rails.root.join('spec/pages/**/*.rb') ].each { |f| require f } RSpec.configure do |config| config.include FactoryGirl::Syntax::Methods end # Load factories Dir[Rails.root.join('spec/factories/**/*.rb')].each { |f| require f } VCR.configure do |config| config.cassette_library_dir = 'spec/support/cassettes' config.hook_into :webmock config.ignore_localhost = true config.configure_rspec_metadata! end Shoulda::Matchers.configure do |config| config.integrate do |with| # Choose a test framework: with.test_framework :rspec # Choose one or more libraries: # with.library :active_record # with.library :active_model # with.library :action_controller # Or, choose the following (which implies all of the above): with.library :rails end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bretelline-0.2.0 | lib/bretelline/templates/spec/support/tools.rb |