Sha256: d8fabd82c136b5314e28dfbf007499d299190b5032eb91099a0e11d955f887b8

Contents?: true

Size: 320 Bytes

Versions: 1

Compression:

Stored size: 320 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "Candy" do
  # An example class to contain our methods
  class Zagnut
    include Candy
  end
  
  before(:each) do
    @this = Zagnut.new
  end
  
  it "inserts a document immediately" do
    @this.id.should be_a(Mongo::ObjectID)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
candy-0.0.1 spec/candy_spec.rb