Sha256: 71ac4d065c16d2ec98960821f149825dd5549c663e82e2e5b0af85ae0565d36b
Contents?: true
Size: 466 Bytes
Versions: 17
Compression:
Stored size: 466 Bytes
Contents
require_relative "../../spec_helper" describe Rsense::Server::Project do before do @project = Rsense::Server::Project.new(__FILE__, File.dirname(__FILE__)) end it "has stubs" do stubs = @project.stubs.select { |e| e.to_s =~ /_builtin/ } stubs.size.must_equal(1) end it "tracks loaded features" do @project.loaded << "feature" @project.loaded?("feature").must_equal(true) @project.loaded?("different").must_equal(false) end end
Version data entries
17 entries across 17 versions & 1 rubygems