Skip to content

Commit

Permalink
Merge pull request #55 from joshuabaird/fix_whitespace
Browse files Browse the repository at this point in the history
fix whitespace in spec tests
  • Loading branch information
Josh Baird authored Dec 8, 2016
2 parents 786eaff + 8b53111 commit 58da26b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion spec/classes/ipaclient_automount_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let :facts do {
:osfamily => 'RedHat',
:operatingsystem => 'Fedora',
:operatingsystemrelease => '21'
:operatingsystemrelease => '21'
} end

describe "no options" do
Expand Down
36 changes: 18 additions & 18 deletions spec/classes/ipaclient_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
let :facts do {
:osfamily => 'RedHat',
:operatingsystem => 'Fedora',
:operatingsystemrelease => '21',
:ipa_enrolled => false,
:operatingsystemrelease => '21',
:ipa_enrolled => false,
} end

describe "without required options" do
Expand All @@ -23,9 +23,9 @@
let(:params) do {
:mkhomedir => true,
:password => "unicorns",
:realm => false,
:principal => false,
:domain => false,
:realm => false,
:principal => false,
:domain => false,
} end

it "should have the right package name" do
Expand All @@ -43,9 +43,9 @@
let :params do {
:password => "unicorns",
:options => "--permit",
:realm => false,
:principal => false,
:domain => false
:realm => false,
:principal => false,
:domain => false
} end

it "should generate the right command" do
Expand All @@ -59,9 +59,9 @@
:mkhomedir => true,
:server => ["ipa01.example.com", "ipa02.example.com"],
:password => "unicorns",
:realm => false,
:principal => false,
:domain => false
:realm => false,
:principal => false,
:domain => false
} end

it "should generate the right command" do
Expand All @@ -75,9 +75,9 @@
:mkhomedir => true,
:server => "ipa01.example.com",
:password => "unicorns",
:realm => false,
:principal => false,
:domain => false
:realm => false,
:principal => false,
:domain => false
} end

it "should generate the right command" do
Expand All @@ -91,9 +91,9 @@
let :facts do {
:osfamily => 'RedHat',
:operatingsystem => 'RedHat',
:operatingsystemrelease => '7.2',
:operatingsystemrelease => '7.2',
:sssd_services => 'nss, pam, ssh',
:ipa_enrolled => false
:ipa_enrolled => false
} end

describe "full manual register" do
Expand Down Expand Up @@ -145,8 +145,8 @@
let :facts do {
:osfamily => 'RedHat',
:operatingsystem => 'Whatever',
:operatingsystemrelease => 'Whatever',
:ipa_enrolled => true
:operatingsystemrelease => 'Whatever',
:ipa_enrolled => true
} end

let :params do {
Expand Down

0 comments on commit 58da26b

Please sign in to comment.