Top Level Namespace

Defined Under Namespace

Modules: ApplicationHelper, Daemon, DelayedJobSpecHelper, EventsHelper, Forge, Forge3, ForgeButtonHelper, ForgeHelper, FormHelper, MobileHelper, Models, NavigationHelpers, OrdersHelper, RoutesHelper, S3SwfUpload Classes: Ability, Address, ApplicationController, Asset, Banner, Comment, CommentMailer, CommentSubscriber, CommentsController, Contact, ContactController, ContactMailer, CountriesController, Country, CreateAddresses, CreateBanners, CreateBaseForge, CreateCountries, CreateDispatches, CreateEvents, CreateGalleries, CreateOrderTransactions, CreateOrders, CreatePostCategories, CreatePosts, CreateProductCategories, CreateProductImages, CreateProducts, CreateProductsTaxRates, CreateProvinces, CreateSales, CreateSubscribers, CreateTaxRates, CreateVideos, Dispatch, DispatchBounce, DispatchLink, DispatchLinkClick, DispatchLinksController, DispatchMailer, DispatchOpen, DispatchUnsubscribe, DispatchesController, DummyClass, EmailFormatValidator, Event, EventsController, ForgeCLI, ForgeController, ForgeFormBuilder, Gallery, Hash, HelpTopic, HostedPaymentController, I18nLookup, IndexController, Integer, IntegratedPaymentController, LineItem, MySettings, Order, OrderTransaction, OrdersController, Page, PagesController, Photo, Post, PostCategory, PostsController, Product, ProductCategory, ProductImage, ProductsController, Province, QueuedDispatch, ReceiptMailer, Role, S3DirectUpload, Sale, SessionsController, String, Subscriber, SubscriberGroup, SubscriberGroupMember, SubscribersController, TaxRate, User, UserMailer, Video, VideoAbility, VideoFeed

Instance Method Summary collapse

Instance Method Details

#create_orderObject



122
123
124
125
126
# File 'lib/forge/spec/models/order_spec.rb', line 122

def create_order
  order = Order.new
  order.create_key!
  order
end

#send_dispatch(dispatch) ⇒ Object



34
35
36
37
38
# File 'lib/forge/spec/controllers/dispatches_controller_spec.rb', line 34

def send_dispatch(dispatch)
  dispatch.deliver!
  work_off
  work_off
end