Sha256: 863ac35908e4b1eadb78721c34ce55929767ec37c2f12599b7fb609a036c7895
Contents?: true
Size: 595 Bytes
Versions: 6
Compression:
Stored size: 595 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe Animoto::HTTPEngine do describe "autoloading subclasses" do before do Animoto::HTTPEngine.const_defined?(:BeefHearts).should be_false end after do Animoto::HTTPEngine.remove_const(:BeefHearts) end end describe "making a request" do before do @engine = Animoto::HTTPEngine.new end it "should raise an implementation error" do lambda { @engine.request(:get, "http://www.example.com/thing") }.should raise_error(NotImplementedError) end end end
Version data entries
6 entries across 6 versions & 1 rubygems