Skip to content

Commit

Permalink
Tided up some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrutherford committed Apr 26, 2009
1 parent eff279a commit 185b1e8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion spec/reek/smells/long_method_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

include Reek

describe CodeParser, "(Long Method)" do
describe LongMethod do
it 'should not report short methods' do
'def short(arga) alf = f(1);@bet = 2;@cut = 3;@dit = 4; @emp = 5;end'.should_not reek
end
Expand Down
2 changes: 1 addition & 1 deletion spec/reek/smells/long_parameter_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
include Reek
include Reek::Smells

describe CodeParser, "(Long Parameter List)" do
describe LongParameterList do

describe 'for methods with few parameters' do
it 'should report nothing for no parameters' do
Expand Down
5 changes: 0 additions & 5 deletions spec/reek/smells/utility_function_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@

describe UtilityFunction do

before(:each) do
@rpt = Report.new
@cchk = CodeParser.new(@rpt, SmellConfig.new.smell_listeners)
end

it 'should not report attrset' do
class Fred
attr_writer :xyz
Expand Down

0 comments on commit 185b1e8

Please sign in to comment.