Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified module ServicesManagerTarget #70

Merged
merged 3 commits into from Jul 1, 2014

Conversation

vmoravec
Copy link
Contributor

@vmoravec vmoravec commented Jul 1, 2014

Resolves:

  • bnc#869656
  • bnc#867759
  • bnc#875098

Changes:

  • rewritten tests
  • added dependency on SystemdTarget

@vmoravec
Copy link
Contributor Author

vmoravec commented Jul 1, 2014

Depends on yast/yast-yast2#264

attr_reader :target
module TestTarget
class Template < Struct.new(
:name, :allow_isolate?, :enabled?, :loaded?, :active?, :description
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like bad idea to have enabled?=

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, but Template.new('name', true, true) works and once it's instantiated, it's not going to change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, it is in test, so not critical

@jreidinger
Copy link
Member

LGTM

vmoravec pushed a commit that referenced this pull request Jul 1, 2014
Modified module ServicesManagerTarget. Fixes bnc#869656, bnc#867759 and bnc#875098.
@vmoravec vmoravec merged commit 0578cf3 into yast:master Jul 1, 2014
@vmoravec vmoravec deleted the targets-redone branch July 1, 2014 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants