test/sailthru/content_test.rb in sailthru-client-3.0.0 vs test/sailthru/content_test.rb in sailthru-client-4.0.0
- old
+ new
@@ -4,10 +4,10 @@
describe "API Call: content" do
before do
api_url = 'http://api.sailthru.com'
@secret = 'my_secret'
@api_key = 'my_api_key'
- @sailthru_client = Sailthru::SailthruClient.new(@api_key, @secret, api_url)
+ @sailthru_client = Sailthru::Client.new(@api_key, @secret, api_url)
@api_call_url = sailthru_api_call_url(api_url, 'content')
end
it "can push content with title, url, *array* tags and vars" do
title = 'unix is awesome'