Skip to content

Instantly share code, notes, and snippets.

@marcparadise
Created November 7, 2012 16:49
Show Gist options
  • Save marcparadise/4032816 to your computer and use it in GitHub Desktop.
Save marcparadise/4032816 to your computer and use it in GitHub Desktop.
require 'spec_helper'
require 'open-uri'
require 'pedant/rspec/common'
require 'pedant/rspec/node_util'
require 'spec/support/node_run_util'
describe "Node Runs API endpoint" do
include_context "node_run_util"
include Pedant::RSpec::NodeUtil
let(:empty_history_resultset) { { "run_history" => [] } }
before :all do
add_node(admin_user, new_node(node_name))
end
after :all do
delete_node(admin_user, node_name)
end
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment