Merge 04a437bdb0 into 57610eb39e
This commit is contained in:
commit
1da0647a58
16 changed files with 405 additions and 294 deletions
|
|
@ -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|
|
||||
|
|
|
|||
|
|
@ -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?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue