Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
juanedi authored and Juan Edi committed Feb 26, 2017
1 parent 3c60d8a commit d5eb97f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/micrate_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe Micrate do
end
end

describe "detecting unordered migrations" do
describe "detecting unordered migrations" do
it "fails if there are unapplied migrations with older timestamp than current version" do
migrations = {
20160523142308 => false,
Expand Down
2 changes: 1 addition & 1 deletion src/micrate/migration.cr
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module Micrate

def self.from_version(version)
file_name = Dir.entries(Micrate.migrations_dir)
.find { |name| name.starts_with? version.to_s }
.find { |name| name.starts_with? version.to_s }
.not_nil!
self.from_file(file_name)
end
Expand Down

0 comments on commit d5eb97f

Please sign in to comment.