Fairly new to ruby itself and RubyMine, so sorry for any missing info and potatoness on my side.
After creating a new Empty Project i created the following folder structure, following some advise I found on the web:
│ └── runner.rb
│ └── TaskGenerator.rb
Now i wanted to create a test file using rspec in the spec/ folder. However when right-clicking on that folder, going New->Ruby Test I get a new dialog that only shows MiniTest and MiniTest Spec, but no option for rspec.
If i try to create a file for either of the first two it only gives me a short message saying 'The name should be a valid Ruby qualified constant' not allowing me to create a test file.
My question(s) would be:
- What am I missing to be able to generate a rspec test file?
- What exactly would i need to enter as a name if I wanted to use MiniTest? I tried to find some info on that message but didn't really find anything helpful yet.
I can create an empty ruby file and fill it out manually within spec/ but that is slightly annoying to have to do that every time.
Thanks for the help in advance.
PS: I can run rspec tests successfully with the manually created file, so rspec seems to be installed and recognised
OS: Linux Mint 19.1 Cinnamon
Build #RM-193.6494.37, built on February 11, 2020
Licensed to [me]
Subscription is active until June 10, 2020
For educational use only.
Runtime version: 11.0.5+10-b520.38 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
GC: ParNew, ConcurrentMarkSweep
Non-Bundled Plugins: com.chrisrm.idea.MaterialThemeUI)
rspec: RSpec 3.7