Sha256: 91cd9e564d123a9a75f1b58a1977778d6db136baa1af90dd1fbe56b862bc216c

Contents?: true

Size: 354 Bytes

Versions: 7

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

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

    context 'debug' do
      it 'is debug mode' do
        described_class.debug
        expect(described_class).to be_debug
        described_class.class_eval { @debug = false }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_best_practices-1.23.2 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.23.1 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.23.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.22.1 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.22.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.21.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.20.1 spec/rails_best_practices/core/check_spec.rb