spec/shapewear/service_definitions/complete_service.rb in shapewear-0.0.6 vs spec/shapewear/service_definitions/complete_service.rb in shapewear-0.1.0

- old
+ new

@@ -37,17 +37,9 @@ else raise "ID must be 0 or 1" end end - def reset(chave) - raise "Operação não permitida" if ::Rails.env.production? - c = Conector::Registro.find_by_chave_registro(chave) - c.reset! - - 'ok' - end - class Structured < Struct.new(:text, :random_value, :created_at) def initialize(text) @text = text @random_value = rand(999) @created_at = DateTime.now