Top Level Namespace

Includes:
ActionDispatch::TestProcess

Defined Under Namespace

Modules: BetterErrorsHugeInspectWarning, DoesFlag, Enumerable, HtmlSelectorsHelpers, Katapult, NavigationHelpers, TableHelper, UnpolyHelper, WebpackerHelper Classes: ApplicationRecord, ErrorsController, Hash, PasswordsController, SmartSortAtom, SpecLabelCounter, String

Instance Method Summary collapse

Instance Method Details

#fixture_file(file_name) ⇒ Object



3
4
5
6
# File 'lib/generators/katapult/basics/templates/spec/support/fixture_file.rb', line 3

def fixture_file(file_name)
  file_path = Rails.root.join('spec/assets', file_name)
  File.open(file_path)
end