Sha256: 4977451424db23beaa9afebcbc08188db4afb1e40c81de14380b77c41022b492

Contents?: true

Size: 435 Bytes

Versions: 3

Compression:

Stored size: 435 Bytes

Contents

# -*- coding: utf-8 -*-
require 'minitest/autorun'
require 'simplecov'
SimpleCov.start

describe Fab do

  let(:fab){ Fab.new }

  describe "#boolean" do      

    before do
      @x = fab.boolean
    end

    it "is true or false" do
      [true, false].must_include @x
    end

  end

  describe "#rating" do

    before do
      @x = fab.rating
    end

    it "is a number" do
      @x.must_be_kind_of Fixnum
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sixarm_ruby_fab-1.0.2 test/sixarm_ruby_fab_test/basic_test.rb
sixarm_ruby_fab-1.0.1 test/sixarm_ruby_fab_test/basic_test.rb
sixarm_ruby_fab-1.0.0 test/sixarm_ruby_fab_test/basic_test.rb