Better user specs for joining tables
This commit is contained in:
+2
-1
@@ -12,7 +12,7 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
||||
#Dir[Rails.root.join("spec/factories/**/*.rb")].each {|f| require f }
|
||||
Dir.glob("spec/acceptance_steps/**/*steps.rb") { |f| load f, true }
|
||||
|
||||
I18n.locale = Rails.configuration.i18n.default_locale
|
||||
I18n.locale =I18n.default_locale
|
||||
Devise.stretches = 1
|
||||
Capybara.javascript_driver = :webkit
|
||||
#Capybara.default_driver = :selenium
|
||||
@@ -113,6 +113,7 @@ RSpec.configure do |config|
|
||||
|
||||
config.before :each, type: :feature do
|
||||
#Supplier.any_instance.stub send_confirmation_instructions: true
|
||||
Capybara.session_name = :default
|
||||
end
|
||||
|
||||
# If true, the base class of anonymous controllers will be inferred
|
||||
|
||||
Reference in New Issue
Block a user