README.md in onceover-3.0.10 vs README.md in onceover-3.0.11
- old
+ new
@@ -434,11 +434,11 @@
The same can also be done with profiles just by using the profiles method instead:
```ruby
require 'spec_helper'
-require 'controlrepo'
+require 'onceover'
Onceover::Controlrepo.profiles.each do |profile|
describe profile do
Onceover::Controlrepo.facts.each do |facts|
context "on #{facts['fqdn']}" do
let(:facts) { facts }
@@ -459,11 +459,11 @@
Just pass a hash to the `facts` method and it will return only the fact sets with facts that match the hash e.g. Testing a certain profile on against only your Windows fact sets:
```ruby
require 'spec_helper'
-require 'controlrepo'
+require 'onceover'
describe 'profile::windows_appserver' do
Onceover::Controlrepo.facts({
'kernel' => 'windows'
}).each do |facts|
@@ -490,10 +490,10 @@
### Rake tasks
I have included a couple of little rake tasks to help get you started with testing your control repos. Set them up by adding this to your `Rakefile`
```ruby
-require 'controlrepo/rake_tasks'
+require 'onceover/rake_tasks'
```
The tasks are as follows:
#### generate_fixtures