Skip to content

Commit 756dbf8

Browse files
committed
didn't do all of the proc usages
Signed-off-by: Amndeep Singh Mann <[email protected]>
1 parent 17f3223 commit 756dbf8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

controls/SV-258023.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
if g.has_gnome_gui? && !gs.set?(&set_check)
6161
describe gs do
6262
it "should be greater than 0 and less than or equal to #{timeout}." do
63-
expect(subject).to be_set(set_check), "#{subject} must be set to `uint32` and then an integer greater than 0 and less than or equal to #{timeout} using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
63+
expect(subject).to be_set(&set_check), "#{subject} must be set to `uint32` and then an integer greater than 0 and less than or equal to #{timeout} using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
6464
end
6565
end
6666
end

controls/SV-258025.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
if g.has_gnome_gui? && !gs.set?(&set_check)
6262
describe gs do
6363
it "should be greater than or equal to 0 and less than or equal to #{delay}." do
64-
expect(subject).to be_set(set_check), "#{subject} must be set to `uint32` and then an integer greater than or equal to 0 and less than or equal to #{delay} using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
64+
expect(subject).to be_set(&set_check), "#{subject} must be set to `uint32` and then an integer greater than or equal to 0 and less than or equal to #{delay} using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
6565
end
6666
end
6767
end

controls/SV-270174.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@
7575
end
7676
else
7777
if g.has_non_gnome_gui?
78-
if g.has_gnome_gui? && !gs.set?(set_check)
78+
if g.has_gnome_gui? && !gs.set?(&set_check)
7979
describe gs do
8080
it 'should be set to the standard banner and have the correct text.' do
81-
expect(subject).to be_set(set_check), "#{subject} must be set to the standard banner and have the correct text using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
81+
expect(subject).to be_set(&set_check), "#{subject} must be set to the standard banner and have the correct text using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
8282
end
8383
end
8484
end
@@ -89,7 +89,7 @@
8989
else
9090
describe gs do
9191
it 'should be set to the standard banner and have the correct text.' do
92-
expect(subject).to be_set(set_check), "#{subject} must be set to the standard banner and have the correct text using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
92+
expect(subject).to be_set(&set_check), "#{subject} must be set to the standard banner and have the correct text using either `gsettings set` or by creating/modifying the appropriate `gconf` keyfile and regenerating the `gconf` databases. #{subject.error? ? "Received the following error on access: `#{subject.error}`." : ''}"
9393
end
9494
end
9595
end

0 commit comments

Comments
 (0)