Sha256: dabd6b2be1326410a194c1789a873ca839721d8cf36364ad90544ff69e0ed84e

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'rubygems'
require 'bundler'
Bundler.setup

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'anisoptera'


require 'rspec'

def mock_time(atime)
  t = stub('Now')
  Time.stub!(:now).and_return t
  t.stub!(:gmtime).and_return t
  t.should_receive(:strftime).with("%a, %d %b %Y %H:%M:%S GMT").and_return atime
  atime
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
anisoptera-0.0.2 spec/test_helper.rb