require 'spec_helper'

describe command('date') do
  its(:stdout) { should match /JST/ }
end

describe command('strings /etc/localtime') do
  its(:stdout) { should match /JST-9/ }
end

describe file('/etc/timezone') do
  its(:content) { should match /Asia\/Tokyo/ }
end

require 'spec_helper'

describe command('date') do
  its(:stdout) { should match /JST/ }
end

Fix redundancy test to timezone spec
Fix redundancy test to timezone spec
