Sha256: c3bf27b2c40bd604ba9b822982aa493cf02ddd07637ad8809503dc6ef3576dca

Contents?: true

Size: 1.3 KB

Versions: 8

Compression:

Stored size: 1.3 KB

Contents

require_relative "../../../lib/pra/window_system"

describe Pra::WindowSystem do
  describe "#setup" do
    it "raises a message stating that the pure virtual method has not been implemented" do
      expect { subject.setup }.to raise_error(Pra::WindowSystem::PureVirtualMethodNotImplemented)
    end
  end

  describe "#fetching_pull_requests" do
    it "raises a message stating that the pure virtual method has not been implemented" do
      expect { subject.fetching_pull_requests }.to raise_error(Pra::WindowSystem::PureVirtualMethodNotImplemented)
    end
  end

  describe "#fetch_failed" do
    it "raises a message stating that the pure virtual method has not been implemented" do
      expect { subject.fetch_failed }.to raise_error(Pra::WindowSystem::PureVirtualMethodNotImplemented)
    end
  end

  describe "#refresh_pull_requests" do
    it "raises a message stating that the pure virtual method has not been implemented" do
      expect { subject.refresh_pull_requests(double('pull requests')) }.to raise_error(Pra::WindowSystem::PureVirtualMethodNotImplemented)
    end
  end

  describe "#run_loop" do
    it "raises a message stating that the pure virtual method has not been implemented" do
      expect { subject.run_loop }.to raise_error(Pra::WindowSystem::PureVirtualMethodNotImplemented)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pra-1.6.0 spec/lib/pra/window_system_spec.rb
pra-1.5.1 spec/lib/pra/window_system_spec.rb
pra-1.5.0 spec/lib/pra/window_system_spec.rb
pra-1.4.0 spec/lib/pra/window_system_spec.rb
pra-1.3.0 spec/lib/pra/window_system_spec.rb
pra-1.2.0 spec/lib/pra/window_system_spec.rb
pra-1.1.0 spec/lib/pra/window_system_spec.rb
pra-1.0.0 spec/lib/pra/window_system_spec.rb