Sha256: 32be3fbaa09fc397c08bdeef6fa558b4e71104af960d07ff1b533de4be451eb1

Contents?: true

Size: 257 Bytes

Versions: 16

Compression:

Stored size: 257 Bytes

Contents

require 'test_helper'

class CityTest < ActiveSupport::TestCase
  test 'city without name is invalid' do
    city = City.new
    assert !city.valid?
  end

  test 'fixtures from wagon are loaded' do
    assert_equal 'London', cities(:london).name
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wagons-0.8.0 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.7.0 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.6.1 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.6.0 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.5.0 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.8 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.7 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.6 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.5 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.4 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.3 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.2 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.1 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.4.0 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.3.1 test/dummy/vendor/wagons/superliner/test/models/city_test.rb
wagons-0.3.0 test/dummy/vendor/wagons/superliner/test/models/city_test.rb