Add tests for RStore class

This commit is contained in:
Matthias Beyer 2017-01-22 12:53:52 +01:00
parent 063083d7b5
commit 47f3806825

View file

@ -37,4 +37,12 @@ end
puts "---" puts "---"
works "RStoreId.new_baseless" , (not RStoreId.new_baseless("test").nil?) works "RStoreId.new_baseless" , (not RStoreId.new_baseless("test").nil?)
works "RStore.instance_methods.include? :create" , (RStore.instance_methods.include? :create)
works "RStore.instance_methods.include? :get" , (RStore.instance_methods.include? :get)
works "RStore.instance_methods.include? :retrieve" , (RStore.instance_methods.include? :retrieve)
works "RStore.instance_methods.include? :delete" , (RStore.instance_methods.include? :delete)
works "RStore.instance_methods.include? :update" , (RStore.instance_methods.include? :update)
works "RStore.instance_methods.include? :move_by_id" , (RStore.instance_methods.include? :move_by_id)
works "RStore.instance_methods.include? :save_as" , (RStore.instance_methods.include? :save_as)
works "RStore.instance_methods.include? :save_to" , (RStore.instance_methods.include? :save_to)