Sha256: dbc1c9e3ce0016ba48b3a13e91b700d789a0cefef8af3c4af02b342f79cf4661

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

require "spec_helper"

class DummyHelper
  include Flakey::Twitter
end

describe Flakey::Twitter do
  subject { DummyHelper.new }

  describe "twitter_handle" do
    it "should output the twitter handle" do
      subject.twitter_handle.should == 'grinnick'
    end

    it "should take a handle as an argument" do
      subject.twitter_handle('hello').should == 'hello'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flakey-0.0.2 spec/flakey/twitter_spec.rb
flakey-0.0.1 spec/flakey/twitter_spec.rb