Skip to content

Commit

Permalink
A trivial test for Yast::SoftwareProposalClient
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Mar 24, 2017
1 parent 6a6b176 commit a973e82
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Makefile.am
Expand Up @@ -9,7 +9,8 @@ TESTS = \
product_patterns_test.rb \
source_dialogs_test.rb \
space_calculation_test.rb \
lib/cfa/zypp_conf_test.rb
lib/cfa/zypp_conf_test.rb \
lib/clients/software_proposal_test.rb

TEST_EXTENSIONS = .rb
RB_LOG_COMPILER = rspec
Expand Down
10 changes: 10 additions & 0 deletions test/lib/clients/software_proposal_test.rb
@@ -0,0 +1,10 @@
#!/usr/bin/env rspec

require_relative "../../test_helper"
require "packager/clients/software_proposal"

describe Yast::SoftwareProposalClient do
it "can be constructed" do
expect { subject }.to_not raise_error
end
end

0 comments on commit a973e82

Please sign in to comment.