Module: RSpec::RailsApp::Content::Matchers
- Defined in:
- lib/rails_app_spec/matchers/special/have_gem.rb,
lib/rails_app_spec/matchers/special/have_gems.rb,
lib/rails_app_spec/matchers/special/have_app_config.rb
Defined Under Namespace
Classes: HaveAppConfig, HaveGem, HaveGems
Instance Method Summary collapse
-
#have_app_config(statement_hash) ⇒ Object
config.autoload_paths = %W(#{Rails.root}/lib) have_app_config :autoload_paths => ‘%W(#{Rails.root}/lib)’, :op => ‘=’.
-
#have_gem(*args) ⇒ Object
config.autoload_paths = %W(#{Rails.root}/lib) have_app_config :autoload_paths => ‘%W(#{Rails.root}/lib)’, :op => ‘=’.
-
#have_gems(*names) ⇒ Object
config.autoload_paths = %W(#{Rails.root}/lib) have_app_config :autoload_paths => ‘%W(#{Rails.root}/lib)’, :op => ‘=’.
Instance Method Details
#have_app_config(statement_hash) ⇒ Object
config.autoload_paths = %W(#{Rails.root}/lib) have_app_config :autoload_paths => ‘%W(#{Rails.root}/lib)’, :op => ‘=’
48 49 50 |
# File 'lib/rails_app_spec/matchers/special/have_app_config.rb', line 48 def have_app_config statement_hash HaveAppConfig.new statement_hash end |