From b414d1fca9dba74c262217de9901a7e32de36202 Mon Sep 17 00:00:00 2001 From: Michael Parrish Date: Wed, 30 Sep 2015 13:25:07 -0500 Subject: [PATCH] Allow changes to board position --- app/schemas/board_schema.rb | 1 + spec/schemas/board_schema_spec.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/schemas/board_schema.rb b/app/schemas/board_schema.rb index e408843b..3871720a 100644 --- a/app/schemas/board_schema.rb +++ b/app/schemas/board_schema.rb @@ -13,6 +13,7 @@ def create def update root do |root_object| changes root_object + integer :position end end diff --git a/spec/schemas/board_schema_spec.rb b/spec/schemas/board_schema_spec.rb index e8dd848a..73e21bc2 100644 --- a/spec/schemas/board_schema_spec.rb +++ b/spec/schemas/board_schema_spec.rb @@ -50,6 +50,7 @@ with :properties do its(:section){ is_expected.to be nil } + its(:position){ is_expected.to eql type: 'integer' } end end end