Sha256: d92bfc4e595649c8d3772d7942d724d461cb6c3b3573332a3390508c8029e99e
Contents?: true
Size: 765 Bytes
Versions: 1
Compression:
Stored size: 765 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' module Ubiquitously class TwitterTest < ActiveSupport::TestCase context "Twitter::Account" do setup do create_user(:storage => "test/config") end end context "Twitter::Post" do setup do create_user(:storage => "test/config") @title = "Viatropos" @description = "Mechanically logging in" @tags = %w(ubiquitous) @post = Ubiquitously::Post.new( :url => "./test/meta.html", :title => @title, :description => @description, :tags => @tags, :user => @user ) end should "create a post" do assert @post.save(:twitter) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ubiquitously-0.1.0 | test/test_twitter.rb |