```ruby
require 'spec_helper_acceptance'

describe 'onevm class' do
  describe 'without parameters' do
    it 'should idempotently run' do
      pp = <<-EOS
        class { 'one': }
      EOS

      # Run it twice and test for idempotency
      apply_manifest(pp, :catch_failures => true)
      expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
    end
  end
  describe 'with oned => true' do
    it 'should idempotently run' do
      pp = <<-EOS
        class { 'one':
          oned => true,
        }
      EOS

      # Run it twice and test for idempotency
      apply_manifest(pp, :catch_failures => true)
      expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
    end
  end
end
```

Use :catch_changes in acceptance tests
user
```ruby
require 'spec_helper_acceptance'

describe 'onevm class' do
  describe 'without parameters' do
    it 'should idempotently run' do
      pp = <<-EOS
        class { 'one': }
      EOS

      apply_manifest(pp, :catch_failures => true)
      apply_manifest(pp, :catch_changes => true)
    end
  end
  describe 'with oned => true' do
    it 'should idempotently run' do
      pp = <<-EOS
        class { 'one':
          oned => true,
        }
      EOS

      apply_manifest(pp, :catch_failures => true)
      apply_manifest(pp, :catch_changes => true)
    end
  end
end
```
assistant