This commit is contained in:
raluca 2016-01-25 16:46:35 +00:00
commit 1da0647a58
16 changed files with 405 additions and 294 deletions

View file

@ -79,6 +79,7 @@ RSpec.configure do |config|
config.include Flash, type: :feature
config.include Sidebar, type: :view
config.include Devise::TestHelpers, type: :view
config.include Capybara::DSL
# As we start from scratch in April 2014, let's forbid the old :should syntax
config.expect_with :rspec do |c|

View file

@ -3,7 +3,7 @@
RSpec.configure do |config|
config.after(:each, type: :feature) do
ename = RSpec.current_example.full_description
ename = ename.gsub ' ', '_'
ename = ename.tr ' ', '_'
ename.downcase!
ename = ename + '.html'
if RSpec.current_example.exception.present?