spec/spec_helper.rb in cadenero-0.0.2.b6 vs spec/spec_helper.rb in cadenero-0.0.2.b7

- old
+ new

@@ -6,10 +6,11 @@ require 'capybara/rspec' require 'factory_girl' require 'database_cleaner' require 'coveralls' require 'cadenero/testing_support/database_cleaning' +require 'cadenero/testing_support/authentication_helpers' Coveralls.wear! module ApiHelper require 'rack/test' @@ -24,9 +25,10 @@ Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| include ApiHelper config.include Cadenero::TestingSupport::DatabaseCleaning + config.include Cadenero::TestingSupport::AuthenticationHelpers, type: :feature # ## Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha