var inspector = require('..');
var expect = require('expect.js');

describe("url-inspector", function sites() {
	it("should get title from http://www.lavieenbois.com/", function(done) {
		this.timeout(5000);
		inspector('http://www.lavieenbois.com/', function(err, meta) {
			expect(err).to.not.be.ok();
			expect(meta.title).to.be.ok();
			done();
		});
	});
});

var inspector = require('..');
var expect = require('expect.js');

describe("url-inspector", function sites() {
	it("should get title from http://www.lavieenbois.com/", function(done) {
		this.timeout(5000);
		inspector('http://www.lavieenbois.com/', function(err, meta) {
			expect(err).to.not.be.ok();
			expect(meta.title).to.be.ok();
			done();
		});
	});
	it("should return embeddable content at https://myspace.com/unefemmemariee/music/songs", function(done) {
		this.timeout(5000);
		inspector('https://myspace.com/unefemmemariee/music/songs', function(err, meta) {
			expect(err).to.not.be.ok();
			expect(meta.ext).to.be("html");
			expect(meta.embed).to.be.ok();
			expect(meta.html.startsWith('<iframe')).to.be.ok();
			done();
		});
	});
});

Add a test to ensure html objects are embeds
Add a test to ensure html objects are embeds
