Sha256: cc2ac68c84270121d2bc92f86b17270b7523229710139c7c4df4580958dd7576
Contents?: true
Size: 562 Bytes
Versions: 6
Compression:
Stored size: 562 Bytes
Contents
require_relative 'spec_helper' describe Engrade do it "should allow me to delete all my assignments" do Engrade.set_apikey ENV['ENG_API'] VCR.use_cassette('login') { Engrade.login ENV['ENG_USER'], ENV['ENG_PASS'] } VCR.use_cassette('classes') { @classes = Engrade.classes } VCR.use_cassette('assignments') { @assignments = Engrade.assignments @classes } VCR.use_cassette('delete') { Engrade.delete! @assignments } VCR.use_cassette('result') { @result = Engrade.assignments @classes } @result.should be_empty end end
Version data entries
6 entries across 6 versions & 1 rubygems