-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Populate repo that "works" with GPGME #10
base: master
Are you sure you want to change the base?
Conversation
# | ||
# # Seed global randomization in this process using the `--seed` CLI option. | ||
# # Setting this allows you to use `--seed` to deterministically reproduce | ||
# # test failures related to randomization by passing the same `--seed` value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [81/80]
# config.profile_examples = 10 | ||
# | ||
# # Run specs in random order to surface order dependencies. If you find an | ||
# # order dependency and want to debug it, you can fix the order by providing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [81/80]
ENGINE_RAILS_ROOT=File.join(__dir__, '../') | ||
Dir[File.join(ENGINE_RAILS_ROOT, "spec/factories/**/*.rb")].each {|f| require f } | ||
ENGINE_RAILS_ROOT = File.join(__dir__, "../") | ||
Dir[File.join(ENGINE_RAILS_ROOT, "spec/factories/**/*.rb")].each { |f| require f } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
Line is too long. [82/80]
# http://stackoverflow.com/questions/22860025/rails-4-mounted-engine-with-rspec-and-factory-girl-rails | ||
ENGINE_RAILS_ROOT=File.join(__dir__, '../') | ||
Dir[File.join(ENGINE_RAILS_ROOT, "spec/factories/**/*.rb")].each {|f| require f } | ||
ENGINE_RAILS_ROOT = File.join(__dir__, "../") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
@@ -57,7 +57,7 @@ module Rails::Keyserver | |||
end | |||
end | |||
|
|||
describe ".grip" do | |||
xdescribe ".grip" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
end | ||
end | ||
|
||
describe ".add_uid_params" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
# io = IO.for_fd fd | ||
|
||
def io.write stuff | ||
@buffer ||= "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
io = IO.new 2 | ||
# io = IO.for_fd fd | ||
|
||
def io.write stuff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use def with parentheses when there are parameters.
end | ||
|
||
it "reads from the key" do | ||
pending "TBI mock IO" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
end | ||
end | ||
|
||
it "reads from the key" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer single-quoted strings when you don't need string interpolation or special symbols.
"Works" as in "uses", as this is a WIP that still has tests failing.
This is not meant to be directly merged into the mainline code as is, not even with tests fixed. This is meant only to be for referencing purposes for anyone who'd like to extract out the GPGME-specific bits into a GPGME adaptor for rails-keyserver.
For #2 and #3