view plugins/redmine_checkout/spec/sanity_spec.rb @ 1535:e2c122809c5c live

Update download count only after sending file (if send_file fails, does it throw and avoid this? unsure)
author Chris Cannam
date Wed, 11 Feb 2015 16:16:07 +0000
parents b4b72f1eb644
children
line wrap: on
line source
require File.dirname(__FILE__) + '/spec_helper'
 
describe Class do
  it "should be a class of Class" do
    Class.class.should eql(Class)
  end
  
  it "should be awesome" do
    Checkout.awesome?.should be_true
  end
end