Skip to content

Commit

Permalink
[api] write something in description tag to avoid random results base…
Browse files Browse the repository at this point in the history
…d on the XML implementation
  • Loading branch information
adrianschroeter committed Feb 14, 2013
1 parent 6787b78 commit f6be385
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/api/test/unit/project_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_add_new_flags_from_xml
axml = Xmlhash.parse(
"<project name='home:Iggy'>
<title>Iggy's Home Project</title>
<description/>
<description>dummy</description>
<build>
<disable repository='10.2' arch='i586'/>
</build>
Expand Down Expand Up @@ -96,7 +96,7 @@ def test_delete_flags_through_xml
axml = Xmlhash.parse(
"<project name='home:Iggy'>
<title>Iggy's Home Project</title>
<description></description>
<description>dummy</description>
</project>"
)

Expand All @@ -113,7 +113,7 @@ def test_store_axml
axml = Xmlhash.parse(
"<project name='home:Iggy'>
<title>Iggy's Home Project</title>
<description/>
<description>dummy</description>
<debuginfo>
<disable repository='10.0' arch='i586'/>
</debuginfo>
Expand All @@ -135,7 +135,7 @@ def test_ordering
axml = Xmlhash.parse(
"<project name='home:Iggy'>
<title>Iggy's Home Project</title>
<description/>
<description>dummy</description>
<repository name='images'>
<arch>local</arch>
<arch>i586</arch>
Expand All @@ -156,7 +156,7 @@ def test_ordering
axml = Xmlhash.parse(
"<project name='home:Iggy'>
<title>Iggy's Home Project</title>
<description/>
<description>dummy</description>
<repository name='images'>
<arch>i586</arch>
<arch>x86_64</arch>
Expand All @@ -180,7 +180,7 @@ def test_ordering
axml = Xmlhash.parse(
"<project name='home:Iggy'>
<title>Iggy's Home Project</title>
<description/>
<description>dummy</description>
<repository name='10.2'>
<arch>x86_64</arch>
</repository>
Expand All @@ -204,7 +204,7 @@ def test_ordering
xml = <<END
<project name="home:Iggy">
<title>Iggy"s Home Project</title>
<description/>
<description>dummy</description>
<repository name="remote_1">
<path project="RemoteInstance:remote_project_1" repository="standard"/>
<arch>i586</arch>
Expand All @@ -228,7 +228,7 @@ def test_ordering
xml = <<END
<project name="home:Iggy">
<title>Iggy"s Home Project</title>
<description/>
<description>dummy</description>
<repository name="remote_2">
<path project="RemoteInstance:remote_project_2" repository="standard"/>
<arch>x86_64</arch>
Expand Down

0 comments on commit f6be385

Please sign in to comment.