Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Fix test data spec version
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jun 29, 2019
1 parent 711943c commit ab645c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions t/App/KSP_CKAN/NetKAN.t
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $netkan->full_index;
my $why = "These tests pass locally, but not within Travis";
TODO: {
local $TODO = $why if $ENV{TRAVIS};
ok($#files != -1, "We commited files to master");
ok($#files != -1, "We committed files to master");
}

my $git = App::KSP_CKAN::Tools::Git->new(
Expand All @@ -52,19 +52,19 @@ $netkan->full_index;

my $identifier = "DogeCoinFlagStaged";
is($git->current_branch, "master", "We started on the master branch");
ok(! -d "CKAN-meta/$identifier", "Staged netkan not commited to master");
ok(! -d "CKAN-meta/$identifier", "Staged netkan not committed to master");

$git->checkout_branch($identifier);
is($git->current_branch, $identifier, "We are on the $identifier branch");
my @id_branch = glob( "./CKAN-meta/$identifier/*.ckan" );

TODO: {
local $TODO = $why if $ENV{TRAVIS};
ok($#id_branch != -1, "We commited files to $identifier");
ok($#id_branch != -1, "We committed files to $identifier");
}

foreach my $file (@id_branch) {
ok($file =~ /$identifier-v\d.\d\d.ckan/, "Commited to $identifier");
ok($file =~ /$identifier-v\d.\d\d.ckan/, "Committed to $identifier");
}
}

Expand Down
2 changes: 1 addition & 1 deletion t/data/NetKAN/NetKAN/DogeCoinFlagStaged.netkan
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec_version" : 1,
"spec_version" : "v1.10",
"identifier" : "DogeCoinFlagStaged",
"name" : "Dogecoin Flag Staged",
"abstract" : "Such flag. Very Staged. Wow.",
Expand Down

0 comments on commit ab645c5

Please sign in to comment.