Sha256: 2bf0a7433ab31dd2432210220650e33dbd8cd87c28c3206565eabd74692aab93
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
# -*- coding: utf-8 -*- $LOAD_PATH.push '../lib' unless $LOAD_PATH.include?('../lib') require 'woothee/dataset' describe Woothee::DataSet do it "contains constants" do lambda { Woothee::ATTRIBUTE_NAME }.should_not raise_error(NameError) Woothee::ATTRIBUTE_NAME.should eql(:name) end it "contains dataset" do Woothee::DataSet.get('GoogleBot')[:name].should eql('Googlebot') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
woothee-0.2.1 | spec/01_dataset_spec.rb |
woothee-0.2.0 | spec/01_dataset_spec.rb |