spec/analyzer_spec.rb in bio-publisci-0.0.6 vs spec/analyzer_spec.rb in bio-publisci-0.0.7
- old
+ new
@@ -1,26 +1,26 @@
require_relative '../lib/bio-publisci.rb'
-describe R2RDF::Analyzer do
- class Ana
- include R2RDF::Analyzer
+describe PubliSci::Analyzer do
+ class Ana
+ include PubliSci::Analyzer
end
before(:all) do
@analyzer = Ana.new
-
+
@measures = ['chunkiness','deliciousness']
@dimensions = ['producer', 'pricerange']
@labels = %w(hormel newskies whys)
- @data =
+ @data =
{
"producer" => ["hormel","newskies", "whys"],
"pricerange" => ["low", "medium", "nonexistant"],
"chunkiness"=> [1, 6, 9001],
- "deliciousness"=> [1, 9, 6]
+ "deliciousness"=> [1, 9, 6]
}
end
-
+
it "should run a basic validation" do
newdata = []
@data.keys.size.times{|i|
obs = {}
\ No newline at end of file