Sha256: f141964328e72004de5a68561e0c2448b072ab7313d727f72e0f4f9967bb22f5

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

require 'spec_helper'

describe Test::Mysqld do
  describe '.auto_start=' do
    it 'works' do
      [[true, true], [false, false], [nil, false], [1, true], ['false', true], [Object.new, true]].each do |rvar, expect|
        Test::Mysqld.auto_start = rvar
        expect(Test::Mysqld.auto_start).to eq expect
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test-mysqld-0.0.2 spec/test-mysqld_spec.rb