Sha256: e9dac23546380386458c7f40a871991f1ccbfb4fe5830da9adebf828f6678e8d

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

describe Ray do
  describe "#create_window" do
    context "when given an unappropriate configuration" do
      it "should raise runtime error" do
        Ray.init

        lambda {
          Ray.create_window(:w => 100, :h => 100, :bpp => 1)
        }.should raise_exception(RuntimeError)

        Ray.stop
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ray-0.0.0.pre1 spec/ray/ray_spec.rb