Skip to content

Commit

Permalink
Fixed spec test that was referring to deleted tree
Browse files Browse the repository at this point in the history
  • Loading branch information
h-kataria committed Mar 16, 2021
1 parent e37cf83 commit da12753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/views/layouts/listnav/_explorer_html.haml_spec.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
describe 'layouts/_explorer.html.haml' do
let(:tree_1) { TreeBuilderAutomationManagerProviders.new('tree_1', {}) }
let(:tree_1) { TreeBuilderCatalogItems.new('tree_1', {}) }
let(:accord) { {:title => 'foo', :name => 'tree_1'} }

before do
set_controller_for_view('automation_manager')
set_controller_for_view('catalog')
assign(:sb, {})
assign(:trees, [tree_1])
assign(:accords, [accord])
Expand Down

0 comments on commit da12753

Please sign in to comment.