Sha256: 5944dd23b50424ab799271ddde2e526e5cc7e4d8ef84a3ad595d229f743d361d
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe Tweetable do before do Tweetable.config({:max_message_count=>10}) RedisSpecHelper.reset end context 'when configuring' do it "should use default config values" do Tweetable.config.should == Tweetable::DEFAULT_CONFIG end it "should update the config" do Tweetable.config({:max_message_count=>101}) Tweetable.config[:max_message_count].should == 101 end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tweetable-0.1.14 | spec/tweetable_spec.rb |
tweetable-0.1.13 | spec/tweetable_spec.rb |
tweetable-0.1.11 | spec/tweetable_spec.rb |
tweetable-0.1.10 | spec/tweetable_spec.rb |