spec/alexandria/ui/export_dialog_spec.rb in alexandria-book-collection-manager-0.7.5 vs spec/alexandria/ui/export_dialog_spec.rb in alexandria-book-collection-manager-0.7.6
- old
+ new
@@ -2,10 +2,10 @@
# This file is part of Alexandria.
#
# See the file README.md for authorship and licensing information.
-require File.dirname(__FILE__) + "/../../spec_helper"
+require_relative "../../spec_helper"
describe Alexandria::UI::ExportDialog do
it "works" do
parent = Gtk::Window.new :toplevel
library = instance_double(Alexandria::Library, name: "Bar Library")