poly_belongs_to 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ # Read about fixtures at
2
+ # http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
3
+
4
+ one:
5
+ coffeeable:
6
+
7
+ two:
8
+ coffeeable:
@@ -0,0 +1,13 @@
1
+ require "test_helper"
2
+
3
+ class CoffeeTest < ActiveSupport::TestCase
4
+
5
+ def coffee
6
+ @coffee ||= Coffee.new
7
+ end
8
+
9
+ def test_valid
10
+ assert coffee.valid?
11
+ end
12
+
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poly_belongs_to
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-04 00:00:00.000000000 Z
11
+ date: 2015-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -112,6 +112,7 @@ files:
112
112
  - test/dummy/app/models/beta.rb
113
113
  - test/dummy/app/models/capa.rb
114
114
  - test/dummy/app/models/car.rb
115
+ - test/dummy/app/models/coffee.rb
115
116
  - test/dummy/app/models/contact.rb
116
117
  - test/dummy/app/models/delta.rb
117
118
  - test/dummy/app/models/geo_location.rb
@@ -163,11 +164,14 @@ files:
163
164
  - test/dummy/db/migrate/20150322233733_create_beta.rb
164
165
  - test/dummy/db/migrate/20150322233743_create_capas.rb
165
166
  - test/dummy/db/migrate/20150322233755_create_delta.rb
167
+ - test/dummy/db/migrate/20150511161648_create_coffees.rb
166
168
  - test/dummy/db/schema.rb
167
169
  - test/dummy/db/test.sqlite3
168
170
  - test/dummy/log/development.log
169
171
  - test/dummy/log/test.log
170
172
  - test/dummy/public/favicon.ico
173
+ - test/dummy/test/fixtures/coffees.yml
174
+ - test/dummy/test/models/coffee_test.rb
171
175
  - test/dup_test.rb
172
176
  - test/faked_collection_test.rb
173
177
  - test/fixtures/addresses.yml
@@ -241,6 +245,7 @@ test_files:
241
245
  - test/dummy/db/migrate/20150211224157_create_tags.rb
242
246
  - test/dummy/db/migrate/20150211224139_create_users.rb
243
247
  - test/dummy/db/migrate/20150216092338_create_profiles.rb
248
+ - test/dummy/db/migrate/20150511161648_create_coffees.rb
244
249
  - test/dummy/db/migrate/20150301100722_create_cars.rb
245
250
  - test/dummy/db/migrate/20150216092411_create_photos.rb
246
251
  - test/dummy/config/initializers/mime_types.rb
@@ -263,6 +268,7 @@ test_files:
263
268
  - test/dummy/config/database.yml
264
269
  - test/dummy/app/controllers/application_controller.rb
265
270
  - test/dummy/app/helpers/application_helper.rb
271
+ - test/dummy/app/models/coffee.rb
266
272
  - test/dummy/app/models/ssn.rb
267
273
  - test/dummy/app/models/capa.rb
268
274
  - test/dummy/app/models/contact.rb
@@ -289,4 +295,6 @@ test_files:
289
295
  - test/dummy/bin/rails
290
296
  - test/dummy/bin/bundle
291
297
  - test/dummy/bin/setup
298
+ - test/dummy/test/fixtures/coffees.yml
299
+ - test/dummy/test/models/coffee_test.rb
292
300
  - test/pbt_test.rb