Sha256: 6ba15858224894b6894b9bce378603c5617398b1b2d941be94149f624554aa7c

Contents?: true

Size: 290 Bytes

Versions: 11

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

11 entries across 11 versions & 1 rubygems

Version Path
rails_best_practices-1.19.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.18.1 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.18.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.17.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.16.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.15.7 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.15.6 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.15.4 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.15.3 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.15.2 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.15.1 spec/rails_best_practices/core/check_spec.rb