Sha256: 00440f3f12f322e4ded17cb11f10568092c0c407b78d8808596ad49ef23ed417

Contents?: true

Size: 286 Bytes

Versions: 15

Compression:

Stored size: 286 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
        Check.should be_debug
        Check.class_eval { @debug = false }
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails_best_practices-1.14.4 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.14.3 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.14.2 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.14.1 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.14.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.8 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.5 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.4 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.3 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.2 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.1 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.13.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.12.0 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.11.1 spec/rails_best_practices/core/check_spec.rb
rails_best_practices-1.11.0 spec/rails_best_practices/core/check_spec.rb