spec/alexandria/ui/error_dialog_spec.rb in alexandria-book-collection-manager-0.7.5 vs spec/alexandria/ui/error_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::ErrorDialog do
it "works" do
parent = Gtk::Window.new :toplevel
described_class.new parent, "Boom", "It went boom"