Sha256: d589371c99847f60ba9f2e8bf747831150fa6ffa1d5f9d053c94813a3609e873
Contents?: true
Size: 484 Bytes
Versions: 10
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' root_dir = Rails3::Assist::Directory.rails_root describe 'Rails matcher: have_app_config' do use_helpers :directory, :file, :app before :each do create_empty_tmp :config Dir.chdir config_dir do File.overwrite 'application.rb' do %q{ config.root_dir = MY_ROOT } end end end it "should not have initializer :hello" do root_dir.should have_app_config :root_dir => 'MY_ROOT' end end
Version data entries
10 entries across 10 versions & 1 rubygems