Sha256: 4aedfc290d7d2d8a1111f4ed4ca18af1f17d229c6bce1db8a267f82e782803df
Contents?: true
Size: 967 Bytes
Versions: 5
Compression:
Stored size: 967 Bytes
Contents
require 'spec_helper' describe BigbluebuttonRails do it "should be a module" do BigbluebuttonRails.should be_a(Module) end it "should have be an engine" do BigbluebuttonRails::Engine.should be < Rails::Engine end describe "#value_to_boolean" do it { BigbluebuttonRails::value_to_boolean("true").should be_true } it { BigbluebuttonRails::value_to_boolean("1").should be_true } it { BigbluebuttonRails::value_to_boolean(1).should be_true } it { BigbluebuttonRails::value_to_boolean(true).should be_true } it { BigbluebuttonRails::value_to_boolean("t").should be_true } it { BigbluebuttonRails::value_to_boolean("false").should be_false } it { BigbluebuttonRails::value_to_boolean("0").should be_false } it { BigbluebuttonRails::value_to_boolean(0).should be_false } it { BigbluebuttonRails::value_to_boolean(false).should be_false } it { BigbluebuttonRails::value_to_boolean("f").should be_false } end end
Version data entries
5 entries across 5 versions & 1 rubygems