Remove context for constructor specs

This commit is contained in:
Thibault Jouan
2015-04-15 09:10:50 +00:00
parent c50345af8b
commit 620150b6d8
2 changed files with 13 additions and 17 deletions

View File

@@ -5,10 +5,8 @@ module Uh
let(:display) { Display.new }
subject(:manager) { described_class.new events, display }
describe '#initialize' do
it 'assigns a new display' do
expect(manager.display).to be_a Display
end
it 'has a new display' do
expect(manager.display).to be_a Display
end
describe '#connect', :xvfb do