Sha256: 3170ccce27c643ecb44910c1e23cdee68042f091227b1658fc5fa8c42952dde3
Contents?: true
Size: 382 Bytes
Versions: 13
Compression:
Stored size: 382 Bytes
Contents
require_relative 'spec_helper' require 'wright/provider' # fake provider class FakeProvider < Wright::Provider def initialize super(nil) @updated = true end end describe Wright::Provider do it 'should reset the updated attribute after checks' do provider = FakeProvider.new provider.updated?.must_equal true provider.updated?.must_equal false end end
Version data entries
13 entries across 13 versions & 1 rubygems