bartle
  • Login
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. FlowFX (flowfx@chaos.social)'s status on Tuesday, 12-Feb-2019 10:00:47 CET FlowFX FlowFX

    My vim-rails now knows that request specs are possible alternate files to controllers. And who of you cares?

    #vim #rails #rspec

    In conversation Tuesday, 12-Feb-2019 10:00:47 CET from chaos.social permalink
    • FlowFX (flowfx@chaos.social)'s status on Tuesday, 12-Feb-2019 14:47:43 CET FlowFX FlowFX

      @tachyons Yes. It looks like this:

      let g:rails_projections = {
      \ "app/controllers/*_controller.rb": {
      \ "test": [
      \ "spec/controllers/{}_controller_spec.rb",
      \ "spec/requests/{}_spec.rb"
      \ ],
      \ },
      \ "spec/requests/*_spec.rb": {
      \ "alternate": [
      \ "app/controllers/{}_controller.rb",
      \ ],
      \ }}

      And because 2 people starred my toot, I will put that into my blog, too.

      In conversation Tuesday, 12-Feb-2019 14:47:43 CET permalink
    • FlowFX (flowfx@chaos.social)'s status on Tuesday, 12-Feb-2019 15:02:50 CET FlowFX FlowFX

      @tachyons I'm slowly figuring out how to use the Vim :help command myself. 😂

      In conversation Tuesday, 12-Feb-2019 15:02:50 CET permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

bartle is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All bartle content and data are available under the Creative Commons Attribution 3.0 license.