Enable RSpec/RepeatedExample cop & fix all issues

Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedExample
This commit is contained in:
Bertocq
2018-01-07 17:49:18 +01:00
parent 4f6597b200
commit 16eae689f9
5 changed files with 5 additions and 34 deletions

View File

@@ -210,15 +210,6 @@ feature 'Emails' do
end
end
scenario "Email depending on user's locale" do
sign_up
email = open_last_email
expect(email).to have_subject('Confirmation instructions')
expect(email).to deliver_to('manuela@consul.dev')
expect(email).to have_body_text(user_confirmation_path)
end
scenario "Email on unfeasible spending proposal" do
Setting["feature.spending_proposals"] = true