summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/database_cleaner.rb2
-rw-r--r--spec/support/factory_girl.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/database_cleaner.rb b/spec/support/database_cleaner.rb
index 5083a47..e0dbc9a 100644
--- a/spec/support/database_cleaner.rb
+++ b/spec/support/database_cleaner.rb
@@ -1,4 +1,4 @@
-Rspec.configure do |config|
+RSpec.configure do |config|
config.before(:suite) do
DatabaseCleaner.clean_with(:truncation)
end
diff --git a/spec/support/factory_girl.rb b/spec/support/factory_girl.rb
index 6fd137f..eec437f 100644
--- a/spec/support/factory_girl.rb
+++ b/spec/support/factory_girl.rb
@@ -1,3 +1,3 @@
-Rspec.configure do |config|
+RSpec.configure do |config|
config.include FactoryGirl::Syntax::Methods
end