Sha256: 15f3edd724b36bbaffea5f99694bad07ed093d93bd2a2b225ea4d68ad60b45fb
Contents?: true
Size: 659 Bytes
Versions: 8
Compression:
Stored size: 659 Bytes
Contents
require 'rubygems' require 'mocha' require 'spec' require File.join(File.dirname(__FILE__), %w[.. lib myzofeedtosis]) Spec::Runner.configure do |config| config.mock_with(:mocha) end # Returns the xml fixture identified by +name+. def xml_fixture(name) File.read(File.join(File.dirname(__FILE__), 'fixtures', 'xml', "#{name}.xml")) end def http_header(name) File.read(File.join(File.dirname(__FILE__), 'fixtures', 'http_headers', "#{name}.txt")) end shared_examples_for "all backends" do it "should respond to #get" do @backend.should respond_to(:get) end it "should respond to #set" do @backend.should respond_to(:set) end end
Version data entries
8 entries across 8 versions & 1 rubygems