Sha256: c358b225403824cecc56780e09c72c7810b618ff31746218e6ecab50fc4000f9
Contents?: true
Size: 959 Bytes
Versions: 4
Compression:
Stored size: 959 Bytes
Contents
require 'spec_helper' describe InfinityTest do describe '.application' do it "should be a instace of Application" do InfinityTest.application.should be_instance_of(InfinityTest::Application) end it "should cache instance variable in the same object" do application = InfinityTest.application InfinityTest.application.should equal application end end describe '.configuration' do it { InfinityTest.configuration.should be_instance_of(InfinityTest::Configuration) } it "should cache the instance of configuration class" do configuration = InfinityTest.configuration configuration.should equal InfinityTest.configuration end end describe '.watchr' do it { InfinityTest.watchr.should be_instance_of(Watchr::Script) } it "should cache the instance of Watchr script class" do watchr = InfinityTest.watchr watchr.should equal InfinityTest.watchr end end end
Version data entries
4 entries across 4 versions & 1 rubygems