module DoSnapshot::RSpec

Public Class Methods

fixture(fixture_name) click to toggle source
# File lib/do_snapshot/rspec.rb, line 16
def self.fixture(fixture_name)
  Pathname.new(project_path + '/lib/do_snapshot/rspec/fixtures/digitalocean/').join("#{fixture_name}.json").read
end
project_path() click to toggle source
# File lib/do_snapshot/rspec.rb, line 12
def self.project_path
  File.expand_path('../../..', __FILE__)
end