lib/rest-builder/test.rb in rest-builder-0.9.1 vs lib/rest-builder/test.rb in rest-builder-0.9.2
- old
+ new
@@ -3,13 +3,14 @@
require 'pork/auto'
require 'muack'
require 'webmock'
+WebMock.enable!
WebMock.disable_net_connect!(:allow_localhost => true)
-Pork::Executor.include(Muack::API, WebMock::API)
+Pork::Suite.include(Muack::API, WebMock::API)
-class Pork::Executor
+class Pork::Suite
def with_img
f = Tempfile.new(['img', '.jpg'])
n = File.basename(f.path)
f.write('a'*10)
f.rewind