spec/lib/analyzer_spec.rb in picky-4.0.0pre1 vs spec/lib/analyzer_spec.rb in picky-4.0.0pre2
- old
+ new
@@ -1,18 +1,20 @@
# encoding: utf-8
#
require 'spec_helper'
+require_relative '../../lib/picky/analyzer'
+
describe Analyzer do
-
+
let(:analyzer) { described_class.new }
-
+
context 'after initialize' do
it 'sets the comments' do
analyzer.comments.should == []
end
it 'sets the analysis' do
analyzer.analysis.should == {}
end
end
-
+
end
\ No newline at end of file