Ash McKenzie
|
19ff9d9899
|
Replace rails_helper.rb with spec_helper.rb
rails_helper.rb's only logic was to require
spec_helper.rb.
|
2019-08-30 12:26:18 +10:00 |
|
Thong Kuah
|
a2cfc150ce
|
Add # frozen_string_literal to spec/models
Adds `# frozen_string_literal: true` to spec/models ruby files
|
2019-04-01 14:37:54 +13:00 |
|
Duana Saskia
|
9d742e61a7
|
Refactor: move active hook filter to TriggerableHooks
|
2018-09-05 21:58:52 +10:00 |
|
Alexis Reigel
|
f99b0cc585
|
no need for a named parameter
|
2018-01-17 09:55:00 +01:00 |
|
Alexis Reigel
|
a63792b724
|
accepts .all as a hook scope as well
|
2018-01-17 09:55:00 +01:00 |
|
Alexis Reigel
|
a78abf3a00
|
use safer .hooks_for instead of .public_send
with .public_send we can't make sure that the scope on the model
actually exists.
|
2018-01-17 09:55:00 +01:00 |
|
Alexis Reigel
|
ac92d70d90
|
extract concern for hook triggers
|
2018-01-17 09:55:00 +01:00 |
|