today_ai_weather/test/fixtures/weather_arts.yml
songtianlun e5743a5e3f feat: add friendly_id for cities and weather arts
- Integrate 'friendly_id' gem for sluggable functionality in City model
- Create ActiveAdmin resources for managing cities and weather arts
- Implement controller logic for cities
- Add database migrations for cities and weather arts creation
- Seed database with sample data for testing
- Create initial test cases for controllers and models

This commit enhances the application's URL handling by allowing friendly URLs for cities and weather arts. The addition of ActiveAdmin resources facilitates easier management through a web interface.
2025-01-19 12:21:00 +08:00

32 lines
606 B
YAML

# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
city: one
weather_date: 2025-01-19
description: MyString
temperature: 9.99
feeling_temp: 9.99
humidity: 9.99
wind_scale: MyString
wind_speed: 9.99
precipitation: 9.99
pressure: 9.99
visibility: 9.99
cloud: 9.99
prompt: MyText
two:
city: two
weather_date: 2025-01-19
description: MyString
temperature: 9.99
feeling_temp: 9.99
humidity: 9.99
wind_scale: MyString
wind_speed: 9.99
precipitation: 9.99
pressure: 9.99
visibility: 9.99
cloud: 9.99
prompt: MyText