spec/support/models/star_gazer.rb in arstotzka-1.0.1 vs spec/support/models/star_gazer.rb in arstotzka-1.0.2

- old
+ new

@@ -1,13 +1,14 @@ +# frozen_string_literal: true + class StarGazer include Arstotzka expose :favorite_star, full_path: 'universe.star', - default: { name: 'Sun' }, class: ::Star + default: { name: 'Sun' }, class: ::Star attr_reader :json def initialize(json = {}) @json = json end end -