diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 12:02:26 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 12:02:26 +0200 |
commit | 317a7469545d0e9a70e54a87a540b8aabe4c418b (patch) | |
tree | 34d0d41cc2518cddb098660f0f12112ab927f667 /spec/spec_helper.rb | |
parent | e3d870d7fc282a1f0a1028996c8b44e5d32b9cbf (diff) | |
download | gitlab-ce-317a7469545d0e9a70e54a87a540b8aabe4c418b.tar.gz |
Make commit_spec run
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index dfe855926c6..67f31ef54f6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -42,4 +42,8 @@ RSpec.configure do |config| end end +FactoryGirl::SyntaxRunner.class_eval do + include RSpec::Mocks::ExampleMethods +end + ActiveRecord::Migration.maintain_test_schema! |