Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
This commit is contained in:
parent
1413c23c50
commit
7754189187
257 changed files with 1449 additions and 1449 deletions
|
@ -37,7 +37,7 @@ RSpec.configure do |config|
|
|||
# instead of true.
|
||||
config.use_transactional_fixtures = false
|
||||
|
||||
config.before :each, :type => :integration do
|
||||
config.before :each, type: :integration do
|
||||
DeviseSessionMock.disable
|
||||
end
|
||||
|
||||
|
@ -59,7 +59,7 @@ RSpec.configure do |config|
|
|||
DatabaseCleaner.clean
|
||||
end
|
||||
|
||||
config.include RSpec::Rails::RequestExampleGroup, :type => :request, :example_group => {
|
||||
:file_path => /spec\/api/
|
||||
config.include RSpec::Rails::RequestExampleGroup, type: :request, example_group: {
|
||||
file_path: /spec\/api/
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue