test/epom/site_test.rb in epom-0.9.9 vs test/epom/site_test.rb in epom-0.10
- old
+ new
@@ -75,24 +75,9 @@
response = Epom::Site.set_site_pricing(url_params, body_params)
assert_instance_of Hash, response
assert response['success']
end
- test "set_placement_pricing" do
- timestamp = Time.now.to_i * 1000
- url_params = {
- :hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
- :timestamp => timestamp,
- :username => ENV['username'],
- :placementId => ENV['placement_id'],
- }
- body_params = '{"paymentModel":"FIXED_PRICE","pricingType":"CPC","price":1.2}'
-
- response = Epom::Site.set_placement_pricing(url_params, body_params)
- assert_instance_of Hash, response
- assert response['success']
- end
-
test "create_site" do
timestamp = Time.now.to_i * 1000
body_params = {
:hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
:timestamp => timestamp,