Skip to content

Commit

Permalink
fix nodes_spec to use current_project
Browse files Browse the repository at this point in the history
  • Loading branch information
caitmich committed Aug 28, 2023
1 parent 804399d commit 10892da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
end

describe 'POST /api/nodes' do
let!(:parent_node_id) { Project.new.plugin_parent_node.id }
let!(:parent_node_id) { current_project.plugin_parent_node.id }
let(:valid_post) do
post '/api/nodes', params: valid_params.to_json, env: @env.merge('CONTENT_TYPE' => 'application/json')
end
Expand Down

0 comments on commit 10892da

Please sign in to comment.