mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08: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_undo', true);
|
||||
|
||||
if(action === 'notify_moderators' || action=='notify_user') {
|
||||
if(action === 'notify_moderators' || action === 'notify_user') {
|
||||
this.set('can_undo',false);
|
||||
this.set('can_clear_flags',false);
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ Spork.prefork do
|
|||
load "#{Rails.root}/db/seeds.rb"
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
||||
|
||||
config.fail_fast = ENV['RSPEC_FAIL_FAST'] == "1"
|
||||
config.include Helpers
|
||||
config.mock_framework = :mocha
|
||||
|
|
Loading…
Reference in New Issue
Block a user