class CreateTest

Public Instance Methods

test_default() click to toggle source

Test the default method

# File test/test_create.rb, line 6
def test_default
  req = MockRequest.new(:create, :default, "test-sample-#{Time.now.to_i}")
  cfg = Vermillion::Cfg.new.populate_config

  create = Create.new(cfg, req)

  assert create.one(:local, req.param).zero?
end