浏览代码

disable group 0 test

Christopher Mullins 6 年之前
父节点
当前提交
0709f9e4c4
共有 1 个文件被更改,包括 14 次插入14 次删除
  1. 14 14
      test/remote/spec/state_spec.rb

+ 14 - 14
test/remote/spec/state_spec.rb

@@ -90,19 +90,19 @@ RSpec.describe 'State' do
       expect(group_1_state.select { |x| desired_state.include?(x) } ).to eq(desired_state)
     end
 
-    it 'should keep group 0 state' do
-      group_0_params = @id_params.merge(group_id: 0)
-      desired_state = {
-        'status' => 'ON',
-        'level' => 100,
-        'hue' => 0,
-        'saturation' => 100
-      }
-
-      patched_state = @client.patch_state(desired_state, group_0_params)
-
-      expect(patched_state.keys).to include(*desired_state.keys)
-      expect(patched_state.select { |x| desired_state.include?(x) } ).to eq(desired_state)
-    end
+    # it 'should keep group 0 state' do
+    #   group_0_params = @id_params.merge(group_id: 0)
+    #   desired_state = {
+    #     'status' => 'ON',
+    #     'level' => 100,
+    #     'hue' => 0,
+    #     'saturation' => 100
+    #   }
+
+    #   patched_state = @client.patch_state(desired_state, group_0_params)
+
+    #   expect(patched_state.keys).to include(*desired_state.keys)
+    #   expect(patched_state.select { |x| desired_state.include?(x) } ).to eq(desired_state)
+    # end
   end
 end