mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix jshint
This commit is contained in:
parent
2bdb53261b
commit
ea3c6d2e6f
@ -45,7 +45,7 @@ Discourse.ActionSummary = Discourse.Model.extend({
|
|||||||
this.set('can_act', false);
|
this.set('can_act', false);
|
||||||
this.set('can_undo', true);
|
this.set('can_undo', true);
|
||||||
|
|
||||||
if(action === 'notify_moderators' || action=='notify_user') {
|
if(action === 'notify_moderators' || action === 'notify_user') {
|
||||||
this.set('can_undo',false);
|
this.set('can_undo',false);
|
||||||
this.set('can_clear_flags',false);
|
this.set('can_clear_flags',false);
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ Spork.prefork do
|
|||||||
load "#{Rails.root}/db/seeds.rb"
|
load "#{Rails.root}/db/seeds.rb"
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
|
|
||||||
config.fail_fast = ENV['RSPEC_FAIL_FAST'] == "1"
|
config.fail_fast = ENV['RSPEC_FAIL_FAST'] == "1"
|
||||||
config.include Helpers
|
config.include Helpers
|
||||||
config.mock_framework = :mocha
|
config.mock_framework = :mocha
|
||||||
|
Loading…
Reference in New Issue
Block a user