Skip to content

Commit

Permalink
tdl - fixing one more unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap committed Oct 17, 2011
1 parent e075f6f commit 786cc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spec/models/system_template_spec.rb
Expand Up @@ -274,7 +274,7 @@
@export_tpl.stub(:package_groups).and_return [SystemTemplatePackGroup.new({:name => 'xxx'})]
@export_tpl.stub(:pg_categories).and_return [SystemTemplatePgCategory.new({:name => 'xxx'})]

str = @export_tpl.export_as_json
str = @export_tpl.export_as_json.to_json
json = ActiveSupport::JSON.decode(str)
json['products'].size.should == 2
json['packages'].size.should == 1
Expand Down

0 comments on commit 786cc28

Please sign in to comment.