spec/support/feature_helper.rb
# Equivalent to going through first-run setup
Equivalent to going through first-run setup
Equivalent to going through first - run setup
def app_setup
    @app_config = create(:app_config)
    @department = create(:department)
    @superuser = create(:superuser)
    @category = @department.categories.where(name: "Shifts").first
    @calendar = @department.calendars.default
  end
def app_setup @app_config = create ( :app_config ) @department = create ( :department ) @superuser = create ( :superuser ) @category = @department . categories . where ( name : "Shifts" ) . first @calendar = @department . calendars . default end
Equivalent to going through first-run setup
Equivalent to going through first - run setup
# Default created with department