diff options
Diffstat (limited to 'test/window_spec.rb')
| -rw-r--r-- | test/window_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/window_spec.rb b/test/window_spec.rb index 7be4e2b..7aac7aa 100644 --- a/test/window_spec.rb +++ b/test/window_spec.rb @@ -9,4 +9,8 @@ RSpec.describe Ruby2D::Window do expect(Window.width).to eq(200) end + it "does not allow screenshots until shown" do + expect(Window.screenshot).to be false + end + end |
