test/twin/composition_test.rb in disposable-0.0.8 vs test/twin/composition_test.rb in disposable-0.0.9
- old
+ new
@@ -2,11 +2,11 @@
require 'disposable/twin/composition'
class TwinCompositionTest < MiniTest::Spec
class Request < Disposable::Twin::Composition
- property :song_title, :on => :song, :as => :title
- property :song_id, :on => :song, :as => :id
+ property :song_title, :on => :song, :from => :title
+ property :song_id, :on => :song, :from => :id
property :name, :on => :requester
property :id, :on => :requester
# map ...
\ No newline at end of file