Sha256: 4585ee5d9f4bbfd0264610f230f7b22e4e9e96a1677a8ac40a673c20def4817b

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

module RailsBestPractices::Core
  describe Check do
    let(:check) { Check.new }

    context 'debug' do
      it 'should be debug mode' do
        Check.debug
        expect(Check).to be_debug
        Check.class_eval { @debug = false }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_best_practices-1.20.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.19.5 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.19.4 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.19.3 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.19.2 spec/rails_best_practices/core/check_spec.rb