Sha256: 2398c4604c2742d87db9628541918d32c3e313d951a8a2078a878e7be22d85a9
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
require 'spec_helper' describe RailsBestPractices::Core::Runner do before { RailsBestPractices::Core::Runner.base_path = 'spec/fixtures/' } describe "load_plugin_reviews" do it "should load plugins in lib/rails_best_practices/plugins/reviews" do runner = RailsBestPractices::Core::Runner.new runner.instance_variable_get('@reviews').map(&:class).should include(RailsBestPractices::Plugins::Reviews::NotUseRailsRootReview) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_best_practices-1.2.0 | spec/rails_best_practices/core/runner_spec.rb |