test/epom/site_test.rb in epom-0.3 vs test/epom/site_test.rb in epom-0.3.3
- old
+ new
@@ -4,12 +4,10 @@
class SiteTest < ActiveSupport::TestCase
test "truth" do
assert_kind_of Class, Epom::Site
end
- define_get_tests_auto(Epom::Site)
-
test "get_sites" do
timestamp = Time.now.to_i * 1000
body_params = {
:hash => Epom.create_hash(Epom.create_hash(ENV['password']), timestamp),
:timestamp => timestamp,
@@ -131,6 +129,7 @@
assert_instance_of Fixnum, first['id']
assert_instance_of String, first['name']
end
end
+ define_get_tests_auto(Epom::Site)
end