Sha256: 0749ced3cff5837cd7e4b917be5669b144e6f64288e9e82ae01107059510616b

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

module Tamber
  class BehaviorTest < Test::Unit::TestCase
    should "be creatable" do
      begin
        e = Tamber::Behavior.create(
          :name => 'mention',
          :desirability => 0.2
        )
        puts e
      end
    end

    should "be retrievable" do
      begin
        e = Tamber::Behavior.retrieve(
          :name => 'mention',
        )
        puts e
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tamber-0.1.4 test/behavior_test.rb