Module: RSpec::RailsApp::ArtifactFile::Matchers
- Includes:
- Rails::Assist::App
- Defined in:
- lib/rails_app_spec/matchers/artifact/have_artifact_file.rb
Instance Method Summary collapse
- #have_view_file(folder, action = :show, view_ext = 'html.erb') ⇒ Object (also: #contain_view_file)
Instance Method Details
#have_view_file(folder, action = :show, view_ext = 'html.erb') ⇒ Object Also known as: contain_view_file
14 15 16 17 |
# File 'lib/rails_app_spec/matchers/artifact/have_artifact_file.rb', line 14 def have_view_file folder, action= :show, view_ext='html.erb' arg = {:folder => folder, :action => action, :view_ext => view_ext} have_rails_file arg, :view end |