test/test_user.rb in whatser-0.2.0 vs test/test_user.rb in whatser-0.3.0
- old
+ new
@@ -40,9 +40,17 @@
def test_create
assert @client.users.create(:name => 'test', :email => 'test@example.com', :password => '123pass').is_a?(Whatser::Response)
end
+ def test_connection
+ assert @user.connection.is_a?(Whatser::Response)
+ end
+
+ def test_thanks
+ assert @user.thanks(1, :opt => 'test').is_a?(Whatser::Response)
+ end
+
def test_save
assert @user.save.is_a?(Whatser::Response)
end
def test_save_and_update
\ No newline at end of file