Skip to content

Commit

Permalink
Merge pull request #236 from mamantoha/remove-redundant-require-ifrit
Browse files Browse the repository at this point in the history
remove redundant require of ifrit
  • Loading branch information
imdrasil authored May 13, 2019
2 parents dba388d + 9c8f9a2 commit 2910310
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion spec/query_builder/function_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe Jennifer::QueryBuilder::Function do

it do
Factory.create_contact
Jennifer::Query["contacts"].select { [current_date.alias("current_d")] }.first!.current_d(Time).should eq(Time.unix(Time.now.to_unix).date)
Jennifer::Query["contacts"].select { [current_date.alias("current_d")] }.first!.current_d(Time).should eq(Time.unix(Time.now.to_unix).at_beginning_of_day)
end
end

Expand Down
1 change: 0 additions & 1 deletion src/jennifer/adapter/base.cr
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require "db"
require "ifrit"
require "./shared/*"
require "./transactions"
require "./result_parsers"
Expand Down

0 comments on commit 2910310

Please sign in to comment.