spec/support/models/star_gazer.rb in arstotzka-1.0.4 vs spec/support/models/star_gazer.rb in arstotzka-1.1.0
- old
+ new
@@ -2,10 +2,10 @@
class StarGazer
include Arstotzka
expose :favorite_star, full_path: 'universe.star',
- default: { name: 'Sun' }, class: ::Star
+ default: { name: 'Sun' }, klass: ::Star
attr_reader :json
def initialize(json = {})
@json = json