File tree 3 files changed +15
-14
lines changed
spec/omniauth/identity/models
3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,29 @@ require 'bundler/gem_tasks'
4
4
5
5
begin
6
6
require 'rspec/core/rake_task'
7
- primary = RSpec ::Core ::RakeTask . new ( :spec )
8
- active_record = RSpec ::Core ::RakeTask . new ( :spec_orm_active_record )
9
- active_record . pattern = 'spec_orms/active_record_spec.rb'
7
+ RSpec ::Core ::RakeTask . new ( :test )
10
8
couch_potato = RSpec ::Core ::RakeTask . new ( :spec_orm_couch_potato )
11
9
couch_potato . pattern = 'spec_orms/couch_potato_spec.rb'
12
10
mongoid = RSpec ::Core ::RakeTask . new ( :spec_orm_mongoid )
13
11
mongoid . pattern = 'spec_orms/mongoid_spec.rb'
14
12
nobrainer = RSpec ::Core ::RakeTask . new ( :spec_orm_nobrainer )
15
13
nobrainer . pattern = 'spec_orms/nobrainer_spec.rb'
16
- sequel = RSpec ::Core ::RakeTask . new ( :spec_orm_sequel )
17
- sequel . pattern = 'spec_orms/sequel_spec.rb'
14
+
15
+ # When running all tests you must have RethinkDB, CouchDB, and MongoDB running. See README.md
16
+ task spec : %i[
17
+ test
18
+ spec_orm_couch_potato
19
+ spec_orm_mongoid
20
+ spec_orm_nobrainer
21
+ ]
18
22
rescue LoadError
23
+ task :test do
24
+ warn 'RSpec is disabled'
25
+ end
19
26
task :spec do
20
27
warn 'RSpec is disabled'
21
28
end
22
29
end
23
- task test : :spec
24
30
25
31
begin
26
32
require 'rubocop/rake_task'
@@ -31,11 +37,6 @@ rescue LoadError
31
37
end
32
38
end
33
39
34
- task default : %i[
35
- test
36
- spec_orm_active_record
37
- spec_orm_couch_potato
38
- spec_orm_mongoid
39
- spec_orm_nobrainer
40
- spec_orm_sequel
41
- ]
40
+ # These tests do not require any services to be running, so this is what we run via Github Actions
41
+ task default : %i[ test ]
42
+
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments