Sha256: c83866feab6b74c0127e76d885743f21e2ad748c16d2613776978dc7f41f38e3

Contents?: true

Size: 290 Bytes

Versions: 1

Compression:

Stored size: 290 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
rails_best_practices-1.19.1 spec/rails_best_practices/core/check_spec.rb